C# Class UnityEngine.CharacterController

Inheritance: Collider
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Move ( Vector3 motion ) : CollisionFlags

A more complex move function taking absolute movement deltas.

SimpleMove ( Vector3 speed ) : bool

Moves the character with speed.

Private Methods

Method Description
INTERNAL_CALL_Move ( CharacterController self, Vector3 &motion ) : CollisionFlags
INTERNAL_CALL_SimpleMove ( CharacterController self, Vector3 &speed ) : bool
INTERNAL_get_center ( Vector3 &value ) : void
INTERNAL_get_velocity ( Vector3 &value ) : void
INTERNAL_set_center ( Vector3 &value ) : void

Method Details

Move() public method

A more complex move function taking absolute movement deltas.

public Move ( Vector3 motion ) : CollisionFlags
motion Vector3
return CollisionFlags

SimpleMove() public method

Moves the character with speed.

public SimpleMove ( Vector3 speed ) : bool
speed Vector3
return bool