Physics
thejsngin/standard-asseets
build a wrapper over RAPIER for physics. Constructs provided:
physicsWorld
Creates the world in which all the physics interactions take place. Creates a RAPIER World, only one physicsWorld component is needed in the level(root gameObjectInstance). Provides events relating to physics.rigidBody
Responsible for creating bodies that can interact with eachother. Creates a RAPIER RigidBody. At max one should be added to a gameObject (Can only be added to a gameObject that also has a transform component).collider
Responsible for providing rigidBodies with collision volumes (volumes specifying what part belongs to a rigidBody). Creates a RAPIER Collider. Provides events related to collisions.