Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

ctSpringF Class Reference

spring attached to two bodies or inertial reference frame. More...

#include <forces.h>

Inheritance diagram for ctSpringF:

List of all members.

Public Methods

 ctSpringF (ctPhysicalEntity *b1, ctVector3 p1, ctPhysicalEntity *b2, ctVector3 p2)
 body b2 can be NULL to indicate it is attached to the immovable world.

 ~ctSpringF ()
void set_rest_length (real len)
 Set Rest Length of spring.

virtual ctVector3 apply_F (ctDynamicEntity &pe)
virtual void add_body (ctPhysicalEntity *bod)
 me expand to include 3+ bodies on one spring.


Protected Attributes

ctLinkList<ctVector3> attachment_point_vector
real rest_length

Detailed Description

spring attached to two bodies or inertial reference frame.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000