RESOLVED: How to get a car’s speed?

Software: Away3D 4.x

liuyi, Member
Posted: 09 September 2011 04:31 AM   Total Posts: 65

I am learning the example:BvhTriangleMeshCarTest.as

And want add a motionblur filter, when speed up to a max value.

But I don’t know how to get speed or acceleration.

the car is :private var car : AWPRaycastVehicle;

Can some one help me?

   

Yang Li, Administrator
Posted: 09 September 2011 05:03 AM   Total Posts: 80   [ # 1 ]

car.getRigidBody().linearVelocity

   

liuyi, Member
Posted: 09 September 2011 07:44 AM   Total Posts: 65   [ # 2 ]

Thanks very much.

   

zbw, Newbie
Posted: 23 September 2011 08:04 AM   Total Posts: 12   [ # 3 ]

I did give the car a custom acceleration it

   

Avatar
Alejandro Santander, Administrator
Posted: 23 September 2011 10:26 PM   Total Posts: 414   [ # 4 ]

liuyi, I’ve moved the topic to the appropriate forum, please consider next time you post so we keep things organized as reference to others who could have similar troubles…

   

Avatar
venom, Newbie
Posted: 05 October 2011 12:41 AM   Total Posts: 26   [ # 5 ]

thanks that’s just what i need smile

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X