IPhysicsEngine class abstract
interface IPhysicsEngine
- Annotations
-
- @JS()
Constructors
Properties
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