25 namespace agxDriveTrain {
void setSpeed(agx::Real speed)
virtual void setCompliance(agx::Real compliance, agx::Int dof)
Set the compliance of this constraint for the i:th DOF.
The base class for a constraint.
#define AGX_DECLARE_POINTER_TYPES(type)
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc...
void setCompliance(agx::Real compliance)
virtual void restoreLightData(agxStream::StorageStream &str) override
The rotational has one rotational degree of freedom.
ElectricMotorConstraint()
virtual void render(agxRender::RenderManager *, float) const override
Inherited method of how to render this constraint into DebugRenderer.
Abstract base class for storing/restoring a line/drums with version control.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
virtual int getNumDOF() const override
Elementary secondary constraint to drive something given target speed (translational or rotational)...
ElectricMotorConstraintImplementation()
virtual void storeLightData(agxStream::StorageStream &str) const override
virtual ~ElectricMotorConstraint()