183 if ( m_rb ==
nullptr )
187 const auto xAxis = getRotationAxis() ^ getUpAxis();
189 xAxis.x(), xAxis.y(), xAxis.z(),
190 getRotationAxis().x(), getRotationAxis().y(), getRotationAxis().z() );
193 getCenterPosition() + wheelCenterOffset * getRotationAxis() );
197 agx::ref_ptr<T> constraint =
new T( m_rb, wheelFrame, other, otherFrame );
198 addConstraint( name, constraint );
Abstraction of a wheel of arbitrary geometry.
AffineMatrix4x4T< Real > AffineMatrix4x4
#define AGXVEHICLE_EXPORT
The base class for a constraint.
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
Class representing the mathematical concept of a plane, also called a half- space.
const agx::AffineMatrix4x4 & getTransform() const
Current model frame transform, given in world coordinate frame.
Base class providing referencing counted objects.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Smart pointer for handling referenced counted objects.
The hinge constraint between two rigid bodies or one rigid body and the world.
The rigid body class, combining a geometric model and a frame of reference.
This namespace contains classes related to vehicles dynamics.
The object defining a frame of reference and providing transformations operations.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
AffineMatrix4x4T< T > inverse() const
Quick inverse, transpose rotation part, and change sign of translation part.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Specialized types of matrices for holding orthogonal transformation matrices.