Collider

:= []

Builds the Colliders that your game puts in Scene.nodes with the Collider tag. The id is the draw id of the Collider. pos and rot are local to the Collider's Group.

box : U64, Vec3, Quat, Vec3 -> Collider

A box at pos with half extents half, turned by rot.

sphere : U64, Vec3, F32 -> Collider

A sphere at pos with a radius. It has no turn.

capsule : U64, Vec3, Quat, F32, F32 -> Collider

A capsule at pos: a radius around a segment of half_height along its own y, turned by rot. The host does not test capsules yet.