19 #ifndef SRC_CORE_TG_BULLET_UNIDIR_COMPR_SPR_H_
20 #define SRC_CORE_TG_BULLET_UNIDIR_COMPR_SPR_H_
33 #include "LinearMath/btVector3.h"
89 const std::vector<tgBulletSpringCableAnchor*>& anchors,
94 btVector3 * direction);
106 virtual void step(
double dt);
161 bool invariant(
void)
const;
164 #endif // SRC_CORE_TG_BULLET_UNIDIR_COMPR_SPR_H_
virtual ~tgBulletUnidirComprSpr()
virtual const btVector3 getSpringEndpoint() const
virtual void calculateAndApplyForce(double dt)
virtual const bool isFreeEndAttached() const
virtual const double getCurrentAnchorDistanceAlongDirection() const
tgBulletUnidirComprSpr(const std::vector< tgBulletSpringCableAnchor * > &anchors, bool isFreeEndAttached, double coefK, double coefD, double restLength, btVector3 *direction)
virtual const double getCurrentSpringLength() const
virtual const double getSpringForce() const
Definitions of class tgBulletCompressionSpring.
virtual void step(double dt)
virtual const btVector3 * getDirection() const