Problev with "angular velocity limit"

Official forum for the Chipmunk2D Physics Library.
Post Reply
DeniZka
Posts: 2
Joined: Wed Feb 27, 2013 11:54 pm
Contact:

Problev with "angular velocity limit"

Post by DeniZka »

Hello masters. I got a problem with angular velocity limit
I'm triing to simulate real truck ang gravity params with chipmunk and stuck with angular velocity limitation.

Problem:
Truck gears multiply engine torque on the wheels to huge number :shock: . To prevent uncontroled roration I used agnularVelocityLimit function on driving wheels. But with this torque(look img) velocity not even get to maximal avalable (look img). With lower limit (about 4) real velocity is from 0 to 1 =(
Please advice how to solve.

Another problem:
When ang.vel.limit is set and wheels are on slope them accelerated by gravity over the limit

Additionaly:
1) Friction set to 1.0 for ground and wheels
2) With less gravity situation a bit better (but not real)
3) With no friction velocity get limit (but no move)

On image: truck trying to go backward.
Sorry for my french...
Attachments
This one
This one
prblm.png (11.47 KiB) Viewed 2899 times
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Problev with "angular velocity limit"

Post by slembcke »

I'm not sure how the angular velocity limit alone could have done that. Do you also have damping enabled or some other joints that might be causing it?
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
DeniZka
Posts: 2
Joined: Wed Feb 27, 2013 11:54 pm
Contact:

Re: Problev with "angular velocity limit"

Post by DeniZka »

No damping set for space
Wheels and body connected by PinJoint
If all wheels are driving - situation a bit better but still sad
Can i share sources? on python
I'll try to do a test just for circles...

I using pymunk 3.0.0 May be it's old lib with that kind of bug?
Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests