15#ifndef MOMENTUM_LINEARSPRING_H
16#define MOMENTUM_LINEARSPRING_H
18#include "momentum_namespace.h"
19#include "momentum_export.h"
21#include "LinearSecondaryJoint.h"
61#ifndef AGX_MOMENTUM_ANALYSIS_API
73 std::string __str__()
const;
77 agx::LockController* getLock()
const;
A base class for motors, springs and ranges on linear constraints.
Definition: LinearSecondaryJoint.h:38
A LinearSpring will try to keep the attached bodies at a specific position along the constrained DOF.
Definition: LinearSpring.h:38
double getTargetPosition() const
Get the target position that the spring is at equilibrium in.
void setTargetPosition(double position)
Set the target position that the spring is at equilibrium in.
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29