The BodyType component is renamed to RigidBody and is now mandatory. (The rigid bodies are no longer automatically "dynamic" when the component is not found)
The BodyHandle component is removed. The rapier's RigidBodyHandle and ColliderHandle are directly used as components.
A CollisionShape can now be inserted in a child entity of a RigidBody. It makes possible to:
Add multiple collision shapes for a single rigid body
Define the position/rotation collision shape relative to its rigidbody
Resolves #11 Resolves #31
This is a breaking change!
Body
component is renamed toCollisionShape
BodyType
component is renamed toRigidBody
and is now mandatory. (The rigid bodies are no longer automatically "dynamic" when the component is not found)BodyHandle
component is removed. The rapier'sRigidBodyHandle
andColliderHandle
are directly used as components.A
CollisionShape
can now be inserted in a child entity of aRigidBody
. It makes possible to: