Expand description
Core components and resources to use Heron
Modules§
- utils
- Utility traits and extensions
Structs§
- Acceleration
- Component that defines the linear and angular acceleration.
- Axis
Angle - An axis-angle representation
- Collision
Data - Collision data concerning one of the two entity that collided
- Collision
Layers - Components that defines the collision layers of the collision shape.
- Collisions
- Component which will be filled (if present) with a list of entities with which the current entity is currently in contact.
- Core
Plugin - Plugin that registers stage resources and components.
- Custom
Collision Shape - An opaque type representing a custom collision shape.
- Damping
- Component that defines the linear and angular damping.
- Gravity
- Resource that defines world’s gravity.
- Pending
Convex Collision - Component which indicates that this entity or its children contains meshes which waiting for collision generation.
- Physic
Material - Component that defines the physics properties of the rigid body
- Physics
Steps - Resource to control how many physics steps are performed per second.
- Physics
Time - Resource that controls the physics time scale
- Rotation
Constraints - Component that restrict what rotations can be caused by forces.
- Sensor
Shape - Mark the
CollisionShape
of the same entity as being a sensor. - Velocity
- Component that defines the linear and angular velocity.
Enums§
- Collision
Event - An event fired when the collision state between two entities changed
- Collision
Shape - Components that defines the collision shape of a rigid body
- Physics
Step Duration - The duration of time that this physics step should advance the simulation time
- Physics
System - Physics system labels
- Rigid
Body - Component that mark the entity as being a rigid body
Traits§
- Physics
Layer - Describes a collision layer
Functions§
- should_
run - Run criteria system that decides if the physics systems should run.