vehicle wrapper car sim problem


#1

Hi,
I’m newbie to blender .
After reading the tutorial i found in the web,I create a model exactly same as thistutorial.
But I have a problem.I want to get linear and angular velocity of every wheels by using python script and my problem is i don’t know how.
I am now able to calculate linear and angular velocity of car’s body by using following commands:

controller = GameLogic.getCurrentController()
car=controller.owner
i=car.getAngularVelocity()

but I don’t know how can i use it that lead the velocity of wheels not body.
thanks for your helps


#2

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.