AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxVehicle::WheelJointFrame Class Reference

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.
 

Detailed Description

Helper class to define reference frames for WheelJoint.

Definition at line 32 of file WheelJoint.h.

Constructor & Destructor Documentation

◆ WheelJointFrame()

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.

Parameters
pointIntersection point for wheel axle and steering axle in world coordinates
wheelAxleWorld direction for wheel axle
steeringAxleWorld direction for steering axle

The documentation for this class was generated from the following file: