CrystalSpace

Public API Reference

CS::Physics::Bullet::iAnchorAnimationControl Struct Reference

This class can be implemented in order to update the position of an anchor of a CS::Physics::Bullet::iSoftBody. More...

#include <ivaria/bullet.h>

Inheritance diagram for CS::Physics::Bullet::iAnchorAnimationControl:

List of all members.

Public Member Functions

virtual csVector3 GetAnchorPosition () const =0
 Return the new position of the anchor, in world coordinates.

Detailed Description

This class can be implemented in order to update the position of an anchor of a CS::Physics::Bullet::iSoftBody.

This can be used to try to control manually the position of a vertex of a soft body.

Warning:
This feature uses a hack around the physical simulation of soft bodies and may not always be stable. Use it at your own risk.
See also:
CS::Physics::Bullet::iSoftBody::AnchorVertex(size_t,iAnchorAnimationControl)

Definition at line 409 of file bullet.h.


Member Function Documentation

virtual csVector3 CS::Physics::Bullet::iAnchorAnimationControl::GetAnchorPosition (  )  const [pure virtual]

Return the new position of the anchor, in world coordinates.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1