createBody

abstract fun createBody(type: RigidBodyType, position: DIso3): RigidBody.Own

Creates a RigidBody with default parameters, which is not attached to any PhysicsSpace.

Parameters

type

The dynamics type of this body.

position

The absolute position of this body in the world.