|
AGX Dynamics 2.42.3.1
|
Helper class to define reference frames for WheelJoint. More...
#include <WheelJoint.h>
Inheritance diagram for agxVehicle::WheelJointFrame:Public Member Functions | |
| WheelJointFrame (agx::Vec3 point, agx::Vec3 wheelAxle, agx::Vec3 steeringAxle) | |
| The WheelJoint has a direction for the wheel axle, a direction for the steering axle which must be orthogonal to the wheel axle and an intersection point for the two axes. | |
Helper class to define reference frames for WheelJoint.
Definition at line 32 of file WheelJoint.h.
| agxVehicle::WheelJointFrame::WheelJointFrame | ( | agx::Vec3 | point, |
| agx::Vec3 | wheelAxle, | ||
| agx::Vec3 | steeringAxle | ||
| ) |
The WheelJoint has a direction for the wheel axle, a direction for the steering axle which must be orthogonal to the wheel axle and an intersection point for the two axes.
The two input axes will be normalized. The steering axle will be adjusted if needed so that it is orthogonal to the wheel axle.
| point | Intersection point for wheel axle and steering axle in world coordinates |
| wheelAxle | World direction for wheel axle |
| steeringAxle | World direction for steering axle |