Search found 8 matches

by spixxel
Sun Feb 12, 2012 6:42 am
Forum: General Bullet Physics Support and Feedback
Topic: btKinematicCharacterController wierd when size gets larger
Replies: 9
Views: 6831

Re: btKinematicCharacterController wierd when size gets larg

any1 got an idea about why?, would appreciate every suggestion
by spixxel
Sat Feb 11, 2012 3:27 pm
Forum: General Bullet Physics Support and Feedback
Topic: btKinematicCharacterController wierd when size gets larger
Replies: 9
Views: 6831

btKinematicCharacterController wierd when size gets larger

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 c...
by spixxel
Sat Feb 11, 2012 12:46 pm
Forum: General Bullet Physics Support and Feedback
Topic: Problems with bottleneck
Replies: 7
Views: 7027

Re: Problems with bottleneck

is it normal to get very low performance with a charactercontroller consistes of a capsule with like 20*20 to 60*60 in dimensions?, because it gets a lot better when they are like 0.75*0.75 or is it that they collide with more vertices on the terrain?
by spixxel
Sat Feb 11, 2012 10:52 am
Forum: General Bullet Physics Support and Feedback
Topic: Problems with bottleneck
Replies: 7
Views: 7027

Re: Problems with bottleneck

It doesn't get any better. But now I use a character controller instead of the dynamic object, but can it be a problem if it is too big?
by spixxel
Sun Feb 05, 2012 11:25 am
Forum: General Bullet Physics Support and Feedback
Topic: Problems with bottleneck
Replies: 7
Views: 7027

Re: Problems with bottleneck

I guess that dispatch all collision pairs is just applying collision response to them or?. Is this usually a bottleneck?, I changed some parameters now for example the maximum simulation steps and also m_broadphase = new btAxisSweep3(worldAabbMin,worldAabbMax,3500,pairCache); the 3500 to something l...
by spixxel
Sun Feb 05, 2012 10:47 am
Forum: General Bullet Physics Support and Feedback
Topic: Problems with bottleneck
Replies: 7
Views: 7027

Re: Problems with bottleneck

Here is the init code of the dynamicsworld m_collisionConfiguration = new btDefaultCollisionConfiguration(); m_dispatcher = new btCollisionDispatcher(m_collisionConfiguration); btVector3 worldAabbMin(-100,-100,-100); btVector3 worldAabbMax(100,100,100); btHashedOverlappingPairCache* pairCache = new ...
by spixxel
Sun Feb 05, 2012 10:45 am
Forum: General Bullet Physics Support and Feedback
Topic: Problems with bottleneck
Replies: 7
Views: 7027

Re: Problems with bottleneck

Someone got an idea what it can be?, When I run in a previous project with the same terrain (but not the same dynamic object, but a lot of other) the same bottlenecks takes 0.000 ms

and I have dubbelchecked so that the physics is set up in the same way. Any1 got an idea what it can be?
by spixxel
Sun Feb 05, 2012 12:46 am
Forum: General Bullet Physics Support and Feedback
Topic: Problems with bottleneck
Replies: 7
Views: 7027

Problems with bottleneck

Hello, I have currently two objects in the my world. One static terrain and one dynamic convex object, they are kind of large and I have problems with a bottleneck in "dispatchAllCollisonPairs" which takes up to 20 ms in some frames (when there is a call to it according to the bullet profi...