Skip to main content

Module passenger

Module passenger 

Source
Expand description

Passenger/riding API built on Bevy’s entity relationships.

Insert Riding on a passenger entity to mount it onto a vehicle; the vehicle’s Passengers component and the clients viewing it are kept in sync automatically.

Structs§

PassengerPlugin
Passengers
Automatically maintained on a vehicle entity; lists the entities currently riding it.
Riding
Placed on a passenger entity, pointing at the vehicle it rides.