Klamp't  0.8.1
Public Member Functions | Public Attributes | List of all members
SpringHook Class Reference

A hook that acts as a Hookean spring to a given fixed target point. More...

#include <WorldSimulation.h>

Inheritance diagram for SpringHook:
WorldSimulationHook

Public Member Functions

 SpringHook (dBodyID body, const Vector3 &worldpt, const Vector3 &target, Real k)
 
virtual void Step (Real dt)
 
virtual bool ReadState (File &f)
 
virtual bool WriteState (File &f) const
 

Public Attributes

dBodyID body
 
Vector3 localpt
 
Vector3 target
 
Real k
 
- Public Attributes inherited from WorldSimulationHook
bool autokill
 

Detailed Description

A hook that acts as a Hookean spring to a given fixed target point.


The documentation for this class was generated from the following file: