Class CharacterController
Inheritance
CharacterController
Assembly: UnityEngine.dll
Syntax
public class CharacterController : Collider
Properties
center
Declaration
public Vector3 center { get; set; }
Property Value
collisionFlags
Declaration
public CollisionFlags collisionFlags { get; }
Property Value
detectCollisions
Declaration
public bool detectCollisions { get; set; }
Property Value
enableOverlapRecovery
Declaration
public bool enableOverlapRecovery { get; set; }
Property Value
height
Declaration
public float height { get; set; }
Property Value
isGrounded
Declaration
public bool isGrounded { get; }
Property Value
minMoveDistance
Declaration
public float minMoveDistance { get; set; }
Property Value
radius
Declaration
public float radius { get; set; }
Property Value
skinWidth
Declaration
public float skinWidth { get; set; }
Property Value
slopeLimit
Declaration
public float slopeLimit { get; set; }
Property Value
stepOffset
Declaration
public float stepOffset { get; set; }
Property Value
velocity
Declaration
public Vector3 velocity { get; }
Property Value
Methods
Move(Vector3)
Declaration
public CollisionFlags Move(Vector3 motion)
Parameters
Type |
Name |
Description |
Vector3 |
motion |
|
Returns
SimpleMove(Vector3)
Declaration
public bool SimpleMove(Vector3 speed)
Parameters
Type |
Name |
Description |
Vector3 |
speed |
|
Returns
Extension Methods