Create3DPhysicsCharacterController

Description

Creates a 3D physics Character Controller for the model. Character controller can be created on the X, Y, or Z axis. For example a standing character would be on the Y axis. A lying down character could be on the X or Z. If the model has an offset from origin the objOffsetVec3 is neede to line up the character controller with the object. If the object does not face down the positive Z axis use the objOrientationVec3 to adjust. Crouch scale adjusts the crouch capsule size to fit the height of your crouched model.

Definition

Create3DPhysicsCharacterController( objID, axis, objOffsetVec3, objOrientationVec3, crouchScale )

Parameters