#include <forces.h>
Inheritance diagram for ctSpringF:
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 |