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

A hook that adds a constant wrench (force f and moment m) to the body. More...

#include <WorldSimulation.h>

Inheritance diagram for WrenchHook:
WorldSimulationHook

Public Member Functions

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

Public Attributes

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

Detailed Description

A hook that adds a constant wrench (force f and moment m) to the body.


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