Expand description
§bevy_rapier2d Integration for bevy-tnua
In addition to the instruction in bevy-tnua’s documentation:
- Add
TnuaRapier2dPluginto the Bevy app. - Optionally: Add
TnuaRapier2dSensorShapeto either entity of the character controller by Tnua or to the to the sensor entities. If exists, the shape on the sensor entity overrides the one on the character entity for that specific sensor.
Modules§
Structs§
- Tnua
Rapier2d Plugin - Add this plugin to use bevy_rapier2d as a physics backend.
- Tnua
Rapier2d Sensor Shape - Add this component to make
TnuaProximitySensorcast a shape instead of a ray. - Tnua
Spatial ExtRapier2d