Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Jun 16, 2017 6:16 am 
Offline

Joined: Fri Jun 16, 2017 5:36 am
Posts: 3
I have 20 character controllers at the same time using the kcc of bullet example.
And use raytest for ground testing.
When the character from the air get a large walkDirection , it does't move at all, any method to fixed it?

It's so time consuming when those characters running, any method to improve it, thanks!

My bullet version is 2.79


Top
 Profile  
 
PostPosted: Fri Jun 16, 2017 4:33 pm 
Offline
User avatar

Joined: Tue Sep 30, 2014 6:03 pm
Posts: 300
Location: San Francisco
Dunno about the lack of movement for large walk direction when in the air.

The btKinematicCharacterController uses sweep tests to figure out if it can move. There were some changes committed to Bullet within the last year that improved the performance for sweep tests against bodies that use the btBvhTriangleMeshShape, so if you're using that shape for objects in the world then maybe upgrading to the latest version will help.


Top
 Profile  
 
PostPosted: Mon Jun 19, 2017 2:15 am 
Offline

Joined: Fri Jun 16, 2017 5:36 am
Posts: 3
Thanks,I don't use btBvhTriangleMeshShape.
Before sweep test, I should raytest by walk direction, then clamp the walk direction to make it move to the ground but not still, raytest every frame is time consuming for me
Any Better method?

The charactercontrollers' performance are so bad when you have to much charachers.
Any suggestion would be great appreciated


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group