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

A hook that adds a constant force in world coordinates to a point on a body given in local coordinates. More...

#include <WorldSimulation.h>

Inheritance diagram for LocalForceHook:
WorldSimulationHook

Public Member Functions

 LocalForceHook (dBodyID body, const Vector3 &localpt, const Vector3 &f)
 
virtual void Step (Real dt)
 
virtual bool ReadState (File &f)
 
virtual bool WriteState (File &f) const
 

Public Attributes

dBodyID body
 
Vector3 localpt
 
Vector3 f
 
- Public Attributes inherited from WorldSimulationHook
bool autokill
 

Detailed Description

A hook that adds a constant force in world coordinates to a point on a body given in local coordinates.


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