Get access to the rapier world
The joint prevents any relative movement between two rigid-bodies, except for relative rotations along one axis. This is typically used to simulate wheels, fans, etc. They are characterized by one local anchor as well as one local axis on each rigid-body.
Optional
origin: Vec3 | Vec2Optional
direction: Vec3Optional
maxDistance: numberOptional
solid: booleanPrecice sphere overlap detection using rapier against colliders
center of the sphere in worldspace
radius of the sphere
array of colliders that overlap with the sphere. Note: they currently only contain the collider and the gameobject
Generated using TypeDoc
Enable to draw collider shapes