bevy_2d_box_physics
A 2D box-collision physics engine for use with the bevy engine
Usage
For the physics to work the PhysicsPlugin
must be added. For adding
forces/velocity to objects you can add the PhysicsBundle
and for collisions
(only collisionboxes are and will be supported) there is the CollisionBundle
.
Sensors, which lets us get information when two objects overlap can also be
added with the SensorBundle
. A very simple example can be seen below:
use *;
use *;
(Note that this doesn't do much as there are no textures, but hopefully you get the idea)