Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CollisionFlags

Description

CollisionFlags is a bitmask returned by CharacterController.Move.

It gives you a broad overview of where your character collided with any other objects.

Variables

NoneCollisionFlags is a bitmask returned by CharacterController.Move.
SidesCollisionFlags is a bitmask returned by CharacterController.Move.
AboveCollisionFlags is a bitmask returned by CharacterController.Move.
BelowCollisionFlags is a bitmask returned by CharacterController.Move.