I'm not sure how to exaplain it but im trying to make a character controller and I noticed some strange behavior while moving.
I'm using a capsule shape and when I apply a force to go in a certain direction it always seems to drift to horizontal or vertical movement if that makes sense.
It becomes very noticable when the velocity is low and if the applied force is too small I cant even move except horizontally or vertically.
Am I doing something wrong or is this a known issue?
EDIT:
I did some testing and it doesnt seem to happen when I dont set angularfactor to 1.
strange behavior
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: strange behavior
Which version of Bullet are you using?
It might be the friction model interfering with the 'angular factor'. Can you try to set the friction to zero and see if that helps?
Thanks,
Erwin
It might be the friction model interfering with the 'angular factor'. Can you try to set the friction to zero and see if that helps?
Thanks,
Erwin
-
- Posts: 7
- Joined: Sun Oct 07, 2007 10:09 am
Re: strange behavior
Im using version 2.62
What you suggested works, when setting friction to zero it doesnt drift anymore. But does that mean I cant use friction when setting angular factor to zero?
What you suggested works, when setting friction to zero it doesnt drift anymore. But does that mean I cant use friction when setting angular factor to zero?
-
- Posts: 7
- Joined: Sun Oct 07, 2007 10:09 am
Re: strange behavior
Thats too bad, guess I'll have to switch to ageia physx :/
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: strange behavior
The friction model improved in Bullet 2.63, so could you try that out?
Can you reproduce your setup in a Bullet demo? We are planning to provide a character controller in one of the upcoming versions.
Thanks for the feedback,
Erwin
Can you reproduce your setup in a Bullet demo? We are planning to provide a character controller in one of the upcoming versions.
Thanks for the feedback,
Erwin
-
- Posts: 7
- Joined: Sun Oct 07, 2007 10:09 am
Re: strange behavior
dang 2.63 seems to solve the problem, I couldnt find anything about it in the changelog thats why I didnt try it out
A character controller would benefit bullet alot I think, if you need testers id be happy to try it out.
A character controller would benefit bullet alot I think, if you need testers id be happy to try it out.
-
- Posts: 1
- Joined: Tue Oct 30, 2007 11:20 pm
Re: strange behavior
I second that. I'm working on a demo right now that uses Bullet and I'd incorporate a Bullet character controller into the demo engine tomorrow if it was availableBlick wrote:A character controller would benefit bullet alot I think, if you need testers id be happy to try it out.