Page 1 of 1
Anything speedometer(tachometer) with vehicle for value?
Posted: Fri Nov 12, 2010 12:41 am
by Machei

subject. I couldnt find anything functions/methods for writing value about speed running a car. I had bad learned about matrix or vector ,but i can not make speedometer. So here in library BEPU.vehicle have installed method?
Re: Anything speedometer(tachometer) with vehicle for value?
Posted: Fri Nov 12, 2010 1:22 am
by Norbo
Each wheel's DrivingMotor has a GetRelativeVelocity method which returns the relative linear velocity between the wheel contact and the ground. You could use those, or just dot the car's linear velocity with the car's orientation matrix forward vector.