A hook that acts as a Hookean (optionally damped) spring to a given fixed target point.
More...
#include <Simulator.h>
|
| SpringHook (dBodyID body, const Vector3 &worldpt, const Vector3 &target, Real kP, Real kD=0) |
|
virtual void | Step (Real dt) override |
|
virtual bool | ReadState (File &f) override |
|
virtual bool | WriteState (File &f) const override |
|
| SpringHook (dBodyID body, const Vector3 &worldpt, const Vector3 &target, Real kP, Real kD=0) |
|
virtual void | Step (Real dt) |
|
virtual bool | ReadState (File &f) |
|
virtual bool | WriteState (File &f) const |
|
|
dBodyID | body |
|
Vector3 | localpt |
|
Vector3 | target |
|
Real | kP |
|
Real | kD |
|
bool | autokill |
|
bool | autokill |
|
A hook that acts as a Hookean (optionally damped) spring to a given fixed target point.
The documentation for this class was generated from the following files: