Name | Summary |
---|---|
Companion | object Companion |
Name | Summary |
---|---|
entity | val entity: Entity? |
handle | var handle: Long |
Name | Summary |
---|---|
applyForce | fun applyForce(force: Vector3) |
applyForceAtRelativePosition | |
applyTorque | fun applyTorque(torqueX: Float, torqueY: Float, torqueZ: Float) |
destroy | fun destroy() |
getPose | fun getPose(): Pose |
setAngularVelocity | fun setAngularVelocity(angularVelocity: Vector3) |
setFriction | fun setFriction(friction: Float, rolling: Float = friction, spinning: Float) |
setLinearVelocity | fun setLinearVelocity(velocity: Vector3) |
setPose | fun setPose(pose: Pose) |
setRestitution | fun setRestitution(restitution: Float) |
Name | Summary |
---|---|
createBox | |
createGLTF | |
createSphere | |
setCallbackEntities | fun setCallbackEntities(scene: Long, entities: LongArray) |