btKinematicCharacterController wierd when size gets larger
Posted: Sat Feb 11, 2012 3:27 pm
Hi, i have made some test program that uses btKinematicCharacterControllers to simulate humanoids that can walk around but I have some problems that I don't know why the occur.
When I increase the size of the charactercontroller, or more preciesly the size of the capsuleshape that the ghost object contains and performance goes down rapidally
When the capsule is 0.75*0.75 then the stepphysics takes approx 0.55 ms
and dispatchAllCollisionPairs takes 0.05 ms
and updateActions takes 0.435 ms
but when I let the capsule size be 30*30 then the difference is huge.
then in 1 frame the stepsimulation takes 103 ms
and updateActions takes 97.097 ms
and dispatchAllCollisionPairs takes 5.915 ms
is this normal?, nothing else is changed and the charactercontrollers are not colliding with eachother
very glad for as many responses as possible (as long as they have suqqestions and information)
/Per
When I increase the size of the charactercontroller, or more preciesly the size of the capsuleshape that the ghost object contains and performance goes down rapidally
When the capsule is 0.75*0.75 then the stepphysics takes approx 0.55 ms
and dispatchAllCollisionPairs takes 0.05 ms
and updateActions takes 0.435 ms
but when I let the capsule size be 30*30 then the difference is huge.
then in 1 frame the stepsimulation takes 103 ms
and updateActions takes 97.097 ms
and dispatchAllCollisionPairs takes 5.915 ms
is this normal?, nothing else is changed and the charactercontrollers are not colliding with eachother
very glad for as many responses as possible (as long as they have suqqestions and information)
/Per