bevy_rapier2d::plugin::context

Module systemparams

Source
Expand description

Helper types to ease bevy_rapier API usage, grouping often used together components through bevy::ecs::query::QueryData or bevy::ecs::system::SystemParam to avoid writing too much boilerplate: shorter parameters for your systems, and pass less parameters to bey_rapier lower level functions.

Structsยง

  • A helper struct to avoid passing too many parameters to most rapier functions. This helps with reducing boilerplate, at the (small) price of maybe getting too much information from the ECS.
  • Automatically generated [WorldQuery](bevy :: ecs::query::WorldQuery) item type for RapierContext, returned when iterating over query results.
  • A helper struct to avoid passing too many parameters to most rapier functions. This helps with reducing boilerplate, at the (small) price of maybe getting too much information from the ECS.
  • Information needed to access the rapier data from an entity managed by rapier.
  • Automatically generated [WorldQuery](bevy :: ecs::query::WorldQuery) item type for RapierEntity, returned when iterating over query results.
  • Utility SystemParam to easily access every required components of a RapierContext immutably.
  • Utility SystemParam to easily access every required components of a RapierContext mutably.