[Robotics] getLinearVelocity

Benoit Bolsee benoit.bolsee at online.be
Mon Aug 17 17:06:06 CEST 2009


Correct, getLinearVelocity() is a function that calls back the Bullet
Physics engine. Only object with a physical representation will have a
linear velocity.
You could try to set a physics body on the camera, I believe it should
work. It can be a static body, Bullet estimate the linear velocity by
interpolation. 

Benoit

-----Original Message-----
From: robotics-bounces at blender.org [mailto:robotics-bounces at blender.org]
On Behalf Of Hervé Legrand
Sent: lundi 17 août 2009 15:46
To: robotics at blender.org
Subject: [Robotics] getLinearVelocity


Hello,

I have just seen the function getLinearVelocity() is not implemented to
Camera objects.
This function doesn't return any error but the value vector is always
[0,0,0].


I hope this comment will help improve the functioning of blender.

Thanks.



More information about the Robotics mailing list