I've been playing around with all the joint types and motors, and cannot seem to get a motor to behave the way I expected it should work.
Whatever I do, I always slams hard into the limit and the simulation bounces up and down a bit until it explodes.
I've added the test case from my own engine to the testbed, and updated the UI a bit to allow for sliding things around.
I've committed the testbed first, and then the fixes after it. So you should be able to see/test the behaviour before and after.
I've been playing around with all the joint types and motors, and cannot seem to get a motor to behave the way I expected it should work.
Whatever I do, I always slams hard into the limit and the simulation bounces up and down a bit until it explodes.
I've added the test case from my own engine to the testbed, and updated the UI a bit to allow for sliding things around.
I've committed the testbed first, and then the fixes after it. So you should be able to see/test the behaviour before and after.