Crate heron_core

Source
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.
AxisAngle
An axis-angle representation
CollisionData
Collision data concerning one of the two entity that collided
CollisionLayers
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.
CorePlugin
Plugin that registers stage resources and components.
CustomCollisionShape
An opaque type representing a custom collision shape.
Damping
Component that defines the linear and angular damping.
Gravity
Resource that defines world’s gravity.
PendingConvexCollision
Component which indicates that this entity or its children contains meshes which waiting for collision generation.
PhysicMaterial
Component that defines the physics properties of the rigid body
PhysicsSteps
Resource to control how many physics steps are performed per second.
PhysicsTime
Resource that controls the physics time scale
RotationConstraints
Component that restrict what rotations can be caused by forces.
SensorShape
Mark the CollisionShape of the same entity as being a sensor.
Velocity
Component that defines the linear and angular velocity.

Enums§

CollisionEvent
An event fired when the collision state between two entities changed
CollisionShape
Components that defines the collision shape of a rigid body
PhysicsStepDuration
The duration of time that this physics step should advance the simulation time
PhysicsSystem
Physics system labels
RigidBody
Component that mark the entity as being a rigid body

Traits§

PhysicsLayer
Describes a collision layer

Functions§

should_run
Run criteria system that decides if the physics systems should run.