[Solved (maybe?)] Suggestions on large numbers of characters

Post Reply
User avatar
gennoevus
Posts: 39
Joined: Sun Oct 10, 2010 4:39 am

[Solved (maybe?)] Suggestions on large numbers of characters

Post by gennoevus »

Hello everyone

I have characters that use btKinematicCharacterControllers just like the demos. I have a pretty powerfully computer but find that everything grinds to a halt once I add about 30 or so characters. (nothing to do with rendering; it's very low poly and the framerate is high before the characters collide with the scene).

Any ideas on how I could speed things up? Is there a better solution for controlling large numbers of AI characters? At the moment I'm not quite sure where to even start because I'm not very competent with bullet yet. Any pointers would be appreciated.

Thank you
Last edited by gennoevus on Mon Nov 24, 2014 2:13 am, edited 1 time in total.
User avatar
gennoevus
Posts: 39
Joined: Sun Oct 10, 2010 4:39 am

[Solved (maybe?)] Re: Suggestions on large numbers of charac

Post by gennoevus »

As a test I just spawned in 400 boxes with their angular factor set to 0,1,0 and the framerate is fine. I'll try using capules with their angular factor set up like this instead of using btKinematicCharacterController. I'm just worried about how capules will handle stairs and steps. Will test it and post again in case anyone has a similar problem in the future.
Post Reply