five-on-it / packages/sim/src/vehicle / wheelAngle
Function: wheelAngle()
wheelAngle(
vc,steer,speed):number
Defined in: packages/sim/src/vehicle.ts:1283
How far the front wheels of a car of class vc are turned (rad, positive toward +x, its left) at steer (−1 to 1) and speed (m/s), as the simulation turns them on the ground with its tyres whole: what the client draws.
Parameters
vc
steer
number
speed
number
Returns
number