143 STEERINGCONSTRAINT_BOUNDS = 3,
188 class WheelJointImplementation* m_implementation;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXVEHICLE_EXPORT
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
Helper class to define reference frames for WheelJoint.
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 or...
The wheel constraint is designed to attach two bodies such that one of them is free to rotate about a...
agx::Lock1D * getLock1D(SecondaryConstraint sc)
WheelJoint(agx::RigidBody *rb1, agx::Frame *rb1AttachmentFrame, agx::RigidBody *rb2=nullptr, agx::Frame *rb2AttachmentFrame=nullptr)
Create wheel given body attachment frames and one or two rigid bodies.
int getNumDOF() const override
agx::Real getAngle(SecondaryConstraint sc=STEERING) const
void render(class agxRender::RenderManager *mgr, float scale) const override
Perform debug rendering of this constraint via agxRender::RenderManager.
agx::RigidBody * getWheelRigidBody()
Get the rigid body of the wheel.
WheelJoint(const WheelJointFrame &wjf, agx::RigidBody *rb1, agx::RigidBody *rb2)
Construct a WheelJoint from a WheelJointFrame and bodies.
agx::Motor1D * getMotor1D(SecondaryConstraint sc)
WheelJoint(agx::RigidBody *rb1, agx::RigidBody *rb2, const agx::Vec3 ¢er, const agx::Vec3 &axis)
Constructor to create a wheel from two rigid bodies, a center point and a steering/suspension axis.
agx::RigidBody * getChassisRigidBody()
Get the rigid body of the chassis.
DOF
Enum used for specifying which Degree of Freedom (DOF) that should be accessed in calls to for exampl...
agx::Range1D * getRange1D(SecondaryConstraint sc)
SecondaryConstraint
Enum for specifying which secondary constraint to access.
The base class for a constraint.
The object defining a frame of reference and providing transformations operations.
Elementary secondary constraint to keep constraint angle at a given target position.
Elementary secondary constraint to keep constraint angle within two given values.
The rigid body class, combining a geometric model and a frame of reference.
Elementary secondary constraint to drive something given target speed (translational or rotational).
This namespace contains classes related to vehicles dynamics.