Type CharacterController

Namespace

GloryEngine.Entities

Summary

Handle for a CharacterController component

Properties

CharacterID

Internal ID of the character

BodyID

Internal ID of the Physics body of the character managed by the PhysicsModule

BodyActive

Whether the character is active and awake

Position

Position of the character
Use this instead of Transform.Position

Rotation

Rotation of the character
Use this instead of Transform.Rotation

CenterOfMassPosition

Position of the center of mass of the character

LinearVelocity

The current linear velocity of the character

AngularVelocity

The current angular velocity of the character

Shape

Shape of the character

Fields

DefaultActivationType

Default activation type to pass to function calls

Methods

AddImpulse(GloryEngine.Vector3@)

Add an impulse to the character

AddLinearVelocity(GloryEngine.Vector3@)

Add a vector to the linear velocity of the character

SetShape(GloryEngine.Shape,System.Single,System.Boolean)

Set the shape of the character controller