Skip to main content

Crate bevy_tnua_rapier2d

Crate bevy_tnua_rapier2d 

Source
Expand description

§bevy_rapier2d Integration for bevy-tnua

In addition to the instruction in bevy-tnua’s documentation:

  • Add TnuaRapier2dPlugin to the Bevy app.
  • Optionally: Add TnuaRapier2dSensorShape to 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§

prelude

Structs§

TnuaRapier2dPlugin
Add this plugin to use bevy_rapier2d as a physics backend.
TnuaRapier2dSensorShape
Add this component to make TnuaProximitySensor cast a shape instead of a ray.
TnuaSpatialExtRapier2d