3#include <egg/math/Vector.hh>
13 void initLinkLen(f32 length);
17 void calcConstraints(f32 scale);
18 void checkCollision();
21 [[nodiscard]]
bool isLeader()
const {
48 [[nodiscard]] f32 linkLen()
const {
60 [[nodiscard]]
static constexpr const EGG::Vector3f &Gravity() {
75 bool m_touchingGround;
One link in a chain where each link's position is limited by the other links.
f32 m_linkLen
The maximum distance between this link and the previous (forward) link.
EGG::Vector3f m_springForce
Prevents links from stretching past their m_linkLen.