[solved] Add impulse and custom callbacks

dudeabot

07-07-2008 20:34:44

Im trying to add impulse in a body that has a setCustomForceAndTorqueCallback outside its callback, but its doesnt react.

when i put it as setStandardForcecallback outside its callback, it reacts as expected... is this behavior correct?

walaber

10-07-2008 07:30:47

that should not effect the addImpulse functions at all, unless it is a bug in Newton itself...

dudeabot

11-07-2008 23:46:03

im sorry it was my fault, i was controlling the body velocity in another snippet of code