Introduction

The Character component controls the basic behavioral abilities of the character, such as movement, jumping, death, respawn, etc.

You can have up to 65 of characters in the world at the same time, and you will no longer be able to spawn characters after that number

Properties

Property Type Description
Character UI Character UI setting, which will active when this character is enabled. Tap to enter editing mode
Facing Mode Enum Relationship between character orientation and camera:

Events

Event Description Parameter
When character jumps Triggered when the character successfully triggers the jumping behavior None
When character falls on ground Triggered when the character lands from the air None
When character is killed Triggered when the character dies None
When character respawns Triggered when the character is reborn None
When character start moving Triggered when the character starts moving None
When character stop moving Triggered when the character stops moving None

Commands

Command Description Parameter
Move Forward Move directly in front of the character None
Move To Position Move to the specified coordinates 1. Position: (Vector3) the position of the moving target in the world coordinate system
Follow Move with the target 1. Object: (Object) The target to be followed
  1. Stop Distance: (Float) the minimum distance to stop approaching | | Stop Moving | Stop moving | None | | Jump | Jump. Will not execute when the character is unable to jump | None | | Turn Degrees | Turn around, positive numbers are clockwise, negative numbers are counterclockwise | 1. Degree: (Floating) Turning angle | | Turn To Position | Turn around to the designated position | 1. Position: Vector3, the target position for turning in the world coordinate system | | Use Prop Once | Use handheld props | None | | Start Using Prop | To start using the current prop | None | | Stop Using Prop | To stop using the current prop | None | | Play Animation | Play the specified Animation | 1. Animation: (Animation) The animation to be played. | | Kill | Kill the character | 1. Auto Respawn: (Bool) Whether the character will automatically respawn after death | | Respawn | Reborn the character | None |