void Move(Vector<float> delta) { bounds.Move(delta); }
public:
- AABB &Bounds() { return bounds; }
- const AABB &Bounds() const { return bounds; }
-
-private:
AABB bounds;
Vector<float> vel;
Vector<float> acc;
float mass = 1.0f;
float elast = 0.75f;
+ bool onGround = false;
+
};
}