OimoJSPlugin

Hierarchy

  • OimoJSPlugin

Implements

Index

Constructors

constructor

  • Parameters

    • Optional iterations: number

    Returns OimoJSPlugin

Properties

BJSOIMO

BJSOIMO: any

name

name: string

world

world: any

Methods

applyForce

applyImpulse

dispose

  • dispose(): void

executeStep

generateJoint

generatePhysicsBody

getAngularVelocity

getBodyFriction

getBodyMass

getBodyRestitution

getBoxSizeToRef

getLinearVelocity

getRadius

getTimeStep

  • getTimeStep(): number

isSupported

  • isSupported(): boolean

removeJoint

removePhysicsBody

setAngularVelocity

setBodyFriction

setBodyMass

setBodyRestitution

setGravity

  • setGravity(gravity: Vector3): void

setLimit

  • setLimit(joint: IMotorEnabledJoint, upperLimit: number, lowerLimit?: number, motorIndex?: number): void

setLinearVelocity

setMotor

  • setMotor(joint: IMotorEnabledJoint, speed: number, maxForce?: number, motorIndex?: number): void

setPhysicsBodyTransformation

setTimeStep

  • setTimeStep(timeStep: number): void

setTransformationFromPhysicsBody

sleepBody

syncMeshWithImpostor

updateDistanceJoint

  • updateDistanceJoint(joint: PhysicsJoint, maxDistance: number, minDistance?: number): void

wakeUpBody

Generated using TypeDoc