IPhysicsEngine class abstract

interface IPhysicsEngine

Annotations
  • @JS()

Constructors

IPhysicsEngine()

Properties

gravity Vector3
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addImpostor(PhysicsImpostor impostor) → void
addJoint(PhysicsImpostor mainImpostor, PhysicsImpostor connectedImpostor, PhysicsJoint joint) → void
dispose() → void
getImpostorForPhysicsObject(IPhysicsEnabledObject object) PhysicsImpostor
getImpostors() List<PhysicsImpostor>
getImpostorWithPhysicsBody(dynamic body) PhysicsImpostor
getPhysicsPlugin() IPhysicsEnginePlugin
getPhysicsPluginName() String
getSubTimeStep() num
getTimeStep() num
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
raycast(Vector3 from, Vector3 to) PhysicsRaycastResult
removeImpostor(PhysicsImpostor impostor) → void
removeJoint(PhysicsImpostor mainImpostor, PhysicsImpostor connectedImpostor, PhysicsJoint joint) → void
setGravity(Vector3 gravity) → void
setSubTimeStep(num subTimeStep) → void
setTimeStep(num newTimeStep) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited