Header menu logo Nu

PhysicsEngine2d Type

The 2d implementation of PhysicsEngine in terms of Aether Physics.

Record fields

Record Field Description

Bodies

Full Usage: Bodies

Field type: Dictionary<BodyId, (Vector3 option * Body)>
Field type: Dictionary<BodyId, (Vector3 option * Body)>

BreakHandler

Full Usage: BreakHandler

Field type: Action<Joint, single>
Field type: Action<Joint, single>

CreateBodyJointMessages

Full Usage: CreateBodyJointMessages

Field type: Dictionary<BodyId, List<CreateBodyJointMessage>>
Field type: Dictionary<BodyId, List<CreateBodyJointMessage>>

IntegrationMessages

Full Usage: IntegrationMessages

Field type: List<IntegrationMessage>
Field type: List<IntegrationMessage>

Joints

Full Usage: Joints

Field type: Dictionary<BodyJointId, Joint>
Field type: Dictionary<BodyJointId, Joint>

PenetrationHandler

Full Usage: PenetrationHandler

Field type: OnCollisionEventHandler
Field type: OnCollisionEventHandler

PhysicsContext

Full Usage: PhysicsContext

Field type: World
Field type: World

SeparationHandler

Full Usage: SeparationHandler

Field type: OnSeparationEventHandler
Field type: OnSeparationEventHandler

Static members

Static member Description

PhysicsEngine2d.make gravity

Full Usage: PhysicsEngine2d.make gravity

Parameters:
Returns: PhysicsEngine

Make a physics engine.

gravity : Vector3
Returns: PhysicsEngine

Type something to start searching.