HOME
What's new
Babylon 101
How To...
Features
Resources
Extensions
Snippets
API
Playground
BABYLON
OimoJSPlugin
OimoJSPlugin
Hierarchy
OimoJSPlugin
Implements
IPhysicsEnginePlugin
Index
Constructors
constructor
Properties
BJSOIMO
name
world
Methods
apply
Force
apply
Impulse
dispose
execute
Step
generate
Joint
generate
Physics
Body
get
Angular
Velocity
get
Body
Friction
get
Body
Mass
get
Body
Restitution
get
Box
Size
ToRef
get
Linear
Velocity
get
Radius
get
Time
Step
is
Supported
remove
Joint
remove
Physics
Body
set
Angular
Velocity
set
Body
Friction
set
Body
Mass
set
Body
Restitution
set
Gravity
set
Limit
set
Linear
Velocity
set
Motor
set
Physics
Body
Transformation
set
Time
Step
set
Transformation
From
Physics
Body
sleep
Body
sync
Mesh
With
Impostor
update
Distance
Joint
wake
UpBody
Constructors
constructor
new
OimoJSPlugin
(
iterations
?:
number
)
:
OimoJSPlugin
Parameters
Optional
iterations:
number
Returns
OimoJSPlugin
Properties
BJSOIMO
BJSOIMO
:
any
name
name
:
string
world
world
:
any
Methods
apply
Force
apply
Force
(
impostor
:
PhysicsImpostor
, force
:
Vector3
, contactPoint
:
Vector3
)
:
void
Parameters
impostor:
PhysicsImpostor
force:
Vector3
contactPoint:
Vector3
Returns
void
apply
Impulse
apply
Impulse
(
impostor
:
PhysicsImpostor
, force
:
Vector3
, contactPoint
:
Vector3
)
:
void
Parameters
impostor:
PhysicsImpostor
force:
Vector3
contactPoint:
Vector3
Returns
void
dispose
dispose
(
)
:
void
Returns
void
execute
Step
execute
Step
(
delta
:
number
, impostors
:
Array
<
PhysicsImpostor
>
)
:
void
Parameters
delta:
number
impostors:
Array
<
PhysicsImpostor
>
Returns
void
generate
Joint
generate
Joint
(
impostorJoint
:
PhysicsImpostorJoint
)
:
void
Parameters
impostorJoint:
PhysicsImpostorJoint
Returns
void
generate
Physics
Body
generate
Physics
Body
(
impostor
:
PhysicsImpostor
)
:
void
Parameters
impostor:
PhysicsImpostor
Returns
void
get
Angular
Velocity
get
Angular
Velocity
(
impostor
:
PhysicsImpostor
)
:
Nullable
<
Vector3
>
Parameters
impostor:
PhysicsImpostor
Returns
Nullable
<
Vector3
>
get
Body
Friction
get
Body
Friction
(
impostor
:
PhysicsImpostor
)
:
number
Parameters
impostor:
PhysicsImpostor
Returns
number
get
Body
Mass
get
Body
Mass
(
impostor
:
PhysicsImpostor
)
:
number
Parameters
impostor:
PhysicsImpostor
Returns
number
get
Body
Restitution
get
Body
Restitution
(
impostor
:
PhysicsImpostor
)
:
number
Parameters
impostor:
PhysicsImpostor
Returns
number
get
Box
Size
ToRef
get
Box
Size
ToRef
(
impostor
:
PhysicsImpostor
, result
:
Vector3
)
:
void
Parameters
impostor:
PhysicsImpostor
result:
Vector3
Returns
void
get
Linear
Velocity
get
Linear
Velocity
(
impostor
:
PhysicsImpostor
)
:
Nullable
<
Vector3
>
Parameters
impostor:
PhysicsImpostor
Returns
Nullable
<
Vector3
>
get
Radius
get
Radius
(
impostor
:
PhysicsImpostor
)
:
number
Parameters
impostor:
PhysicsImpostor
Returns
number
get
Time
Step
get
Time
Step
(
)
:
number
Returns
number
is
Supported
is
Supported
(
)
:
boolean
Returns
boolean
remove
Joint
remove
Joint
(
impostorJoint
:
PhysicsImpostorJoint
)
:
void
Parameters
impostorJoint:
PhysicsImpostorJoint
Returns
void
remove
Physics
Body
remove
Physics
Body
(
impostor
:
PhysicsImpostor
)
:
void
Parameters
impostor:
PhysicsImpostor
Returns
void
set
Angular
Velocity
set
Angular
Velocity
(
impostor
:
PhysicsImpostor
, velocity
:
Vector3
)
:
void
Parameters
impostor:
PhysicsImpostor
velocity:
Vector3
Returns
void
set
Body
Friction
set
Body
Friction
(
impostor
:
PhysicsImpostor
, friction
:
number
)
:
void
Parameters
impostor:
PhysicsImpostor
friction:
number
Returns
void
set
Body
Mass
set
Body
Mass
(
impostor
:
PhysicsImpostor
, mass
:
number
)
:
void
Parameters
impostor:
PhysicsImpostor
mass:
number
Returns
void
set
Body
Restitution
set
Body
Restitution
(
impostor
:
PhysicsImpostor
, restitution
:
number
)
:
void
Parameters
impostor:
PhysicsImpostor
restitution:
number
Returns
void
set
Gravity
set
Gravity
(
gravity
:
Vector3
)
:
void
Parameters
gravity:
Vector3
Returns
void
set
Limit
set
Limit
(
joint
:
IMotorEnabledJoint
, upperLimit
:
number
, lowerLimit
?:
number
, motorIndex
?:
number
)
:
void
Parameters
joint:
IMotorEnabledJoint
upperLimit:
number
Optional
lowerLimit:
number
Optional
motorIndex:
number
Returns
void
set
Linear
Velocity
set
Linear
Velocity
(
impostor
:
PhysicsImpostor
, velocity
:
Vector3
)
:
void
Parameters
impostor:
PhysicsImpostor
velocity:
Vector3
Returns
void
set
Motor
set
Motor
(
joint
:
IMotorEnabledJoint
, speed
:
number
, maxForce
?:
number
, motorIndex
?:
number
)
:
void
Parameters
joint:
IMotorEnabledJoint
speed:
number
Optional
maxForce:
number
Optional
motorIndex:
number
Returns
void
set
Physics
Body
Transformation
set
Physics
Body
Transformation
(
impostor
:
PhysicsImpostor
, newPosition
:
Vector3
, newRotation
:
Quaternion
)
:
void
Parameters
impostor:
PhysicsImpostor
newPosition:
Vector3
newRotation:
Quaternion
Returns
void
set
Time
Step
set
Time
Step
(
timeStep
:
number
)
:
void
Parameters
timeStep:
number
Returns
void
set
Transformation
From
Physics
Body
set
Transformation
From
Physics
Body
(
impostor
:
PhysicsImpostor
)
:
void
Parameters
impostor:
PhysicsImpostor
Returns
void
sleep
Body
sleep
Body
(
impostor
:
PhysicsImpostor
)
:
void
Parameters
impostor:
PhysicsImpostor
Returns
void
sync
Mesh
With
Impostor
sync
Mesh
With
Impostor
(
mesh
:
AbstractMesh
, impostor
:
PhysicsImpostor
)
:
void
Parameters
mesh:
AbstractMesh
impostor:
PhysicsImpostor
Returns
void
update
Distance
Joint
update
Distance
Joint
(
joint
:
PhysicsJoint
, maxDistance
:
number
, minDistance
?:
number
)
:
void
Parameters
joint:
PhysicsJoint
maxDistance:
number
Optional
minDistance:
number
Returns
void
wake
UpBody
wake
UpBody
(
impostor
:
PhysicsImpostor
)
:
void
Parameters
impostor:
PhysicsImpostor
Returns
void
BABYLON
BABYLON.
Debug
BABYLON.GLTF2
BABYLON.GLTF2.
Extensions
BABYLON.GUI
OimoJSPlugin
constructor
BJSOIMO
name
world
apply
Force
apply
Impulse
dispose
execute
Step
generate
Joint
generate
Physics
Body
get
Angular
Velocity
get
Body
Friction
get
Body
Mass
get
Body
Restitution
get
Box
Size
ToRef
get
Linear
Velocity
get
Radius
get
Time
Step
is
Supported
remove
Joint
remove
Physics
Body
set
Angular
Velocity
set
Body
Friction
set
Body
Mass
set
Body
Restitution
set
Gravity
set
Limit
set
Linear
Velocity
set
Motor
set
Physics
Body
Transformation
set
Time
Step
set
Transformation
From
Physics
Body
sleep
Body
sync
Mesh
With
Impostor
update
Distance
Joint
wake
UpBody
Generated using
TypeDoc