100 class LockJointImplementation *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 AGXPHYSICS_EXPORT
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
The base class for a constraint.
The object defining a frame of reference and providing transformations operations.
Constraint that removes all 6 DOF between two bodies, or one body and the world.
LockJoint(agx::RigidBody *rb1, RigidBody *rb2=nullptr)
Create Lock joint given one or two rigid bodies.
DOF
Enum used for specifying which Degree of Freedom (DOF) that should be accessed in calls to for exampl...
LockJoint(agx::RigidBody *rb1, const agx::Vec3 &localAnchorPoint)
Create Lock joint given one rigid body and a local anchor point.
virtual int getNumDOF() const override
LockJoint(agx::RigidBody *rb1, agx::RigidBody *rb2, const agx::Vec3 &worldAnchorPoint)
Create Lock joint given two rigid bodies and one attachment point (in world coordinates).
LockJoint(agx::RigidBody *rb1, agx::Frame *rb1AttachmentFrame, agx::RigidBody *rb2=nullptr, agx::Frame *rb2AttachmentFrame=nullptr)
Create Lock joint given one or two rigid bodies with corresponding attachment frames.
virtual void render(agxRender::RenderManager *mgr, float scale) const override
Internal method used for debug rendering.
The rigid body class, combining a geometric model and a frame of reference.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.