131 class SlackLockJointImplementation *m_implementation;
#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.
The rigid body class, combining a geometric model and a frame of reference.
A constraint that is equal to the.
virtual void render(agxRender::RenderManager *mgr, float scale) const override
Internal method used for debug rendering.
bool setSlackParameters(agx::Vec3 pos_uvn, agx::Real rot)
Set slack range parameters.
SlackLockJoint(agx::RigidBody *rb1, RigidBody *rb2=nullptr)
Create Lock joint given one or two rigid bodies.
virtual int getNumDOF() const override
SlackLockJoint(agx::RigidBody *rb1, agx::RigidBody *rb2, const agx::Vec3 &worldAnchorPoint)
Create Lock joint given two rigid bodies and one attachment point (in world coordinates).
virtual ~SlackLockJoint()
SlackLockJoint(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.
DOF
Enum used for specifying which Degree of Freedom (DOF) that should be accessed in calls to for exampl...
SlackLockJoint(agx::RigidBody *rb1, const agx::Vec3 &localAnchorPoint)
Create Lock joint given one rigid body and a local anchor point.
bool getSlackParameters(agx::Vec3 &pos_uvn, agx::Real &rot) const
Read the current slack parameters.
Smart pointer for handling referenced counted objects.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
ref_ptr< SlackLockJoint > SlackLockJointRef