ARudik / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

gkLimitVelocityConstraint bug #224

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a rigidbody
2. set max-velocity to 2 or such 
3. the rigidbody will act wired (see attached blend) leaving
its track.

What is the expected output? What do you see instead?
The rigidbody should do its physics-movement with lowered velocity

Original issue reported on code.google.com by thomas.t...@googlemail.com on 13 Apr 2012 at 4:00

Attachments:

GoogleCodeExporter commented 9 years ago
I fixed it. ( http://code.google.com/p/gamekit/source/detail?r=1066 )

The problem was that once you leave the limits the velocity is clamped to max 
but applied locally and not in world-transform. That caused the wired behaviour.

Original comment by thomas.t...@googlemail.com on 13 Apr 2012 at 4:05