Skip to content

CharacterController bindings

SDraw edited this page Jun 14, 2023 · 2 revisions

Refer to Unity's CharacterController documentation for properties and methods description.

Properties

  • center: get/set, Vector3
  • collisionFlags: get, string as enum
  • detectCollisions: get/set, boolean
  • enableOverlapRecovery: get/set, boolean
  • height: get/set, float
  • isGrounded: get, boolean
  • minMoveDistance: get/set, float
  • radius: get/set, float
  • skinWidth: get/set, float
  • slopeLimit: get/set, float
  • stepOffset: get/set, float
  • velocity: get, Vector3

Methods

  • string Move(Vector3 direction)
  • bool SimpleMove(Vector3 direction)

Utility functions

  • bool IsCharacterController(object obj): checks if object is type of CharacterController.

Notes

  • Inherits properties and methods from Collider.