Vertex.SetVelocity()

Post Reply
CG_Nema
Posts: 67
Joined: Fri May 31, 2013 5:23 am

Vertex.SetVelocity()

Post by CG_Nema » Fri Aug 16, 2013 1:23 am

using:

Code: Select all

for v in obj.getVertices():
	v.setVelocity( Vector.new(0.0,0.0,0.0) )
Has no effect. Am I doing something wrong?

EDIT:

I just tried obj.setForce() and it also has no effect.

User avatar
tsn
Posts: 283
Joined: Fri Jun 11, 2010 7:22 am

Re: Vertex.SetVelocity()

Post by tsn » Fri Aug 16, 2013 6:35 am

Is your object set to "Active rigid body"? If not then these commands have no effect.
Thomas Schlick | Next Limit Technologies

CG_Nema
Posts: 67
Joined: Fri May 31, 2013 5:23 am

Re: Vertex.SetVelocity()

Post by CG_Nema » Fri Aug 16, 2013 7:13 am

tsn wrote:Is your object set to "Active rigid body"? If not then these commands have no effect.
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.

User avatar
tsn
Posts: 283
Joined: Fri Jun 11, 2010 7:22 am

Re: Vertex.SetVelocity()

Post by tsn » Fri Aug 16, 2013 9:02 am

Ok. Could you please provide the scene for download? I'd like to take a look at it. Thanks.
Thomas Schlick | Next Limit Technologies

Post Reply