Code: Select all
for v in obj.getVertices():
v.setVelocity( Vector.new(0.0,0.0,0.0) )
EDIT:
I just tried obj.setForce() and it also has no effect.
Code: Select all
for v in obj.getVertices():
v.setVelocity( Vector.new(0.0,0.0,0.0) )
Yes its an active rigid. It is falling, when it's position.y goes below 0.0, I apply setVelocity to the vertices or setForce on the object. Neither have any effect for me at the moment. Tried running it as StepsPre and StepsPost.tsn wrote:Is your object set to "Active rigid body"? If not then these commands have no effect.