linear velocity

(corban) #1

hi there,
does anyone know how i set the linv in the motionactuator to 0? i want an object to stop moving, but adding an actuator with linv=0 doesn’t work (surprise). and set linv to -x (add mode) is not usable, cause sometimes the object may move backwards (what i don’t want). suggestions?

(wiseman303) #2

One solution I’ve seen used is to have an add object actuator on your dynamic actor that adds a cube the same size as the bounding sphere.
The cube should last 2 or 3 frames, this usually works and is simple to implement.

Or, you could probably do it in python, but I’m not sure exactly how.