Webgl, Physics, Gamedev, Webdev, 3d.
line is the aggregate creation. It’s documented here with many examples. Now, the important line is setting the inertia to 0. It’s Havok specific and, basically, it tells the physics solver to not allow rotation. Our capsule will stay up but can be moved just like any other dynamic physics body.