Skip to main content

CharacterData

ZEPETO.Character.Controller.CharacterData

Represents the initial configuration for a ZepetoCharacter.

Hierarchy

Constructors

constructor

new CharacterData()

Overrides

System.Object.constructor

Properties

animatorController

animatorController: RuntimeAnimatorController

Animator controller for the character.


center

center: Vector3

Center point of the character's collider.


customMotionData

customMotionData: CustomMotionData

Customized configuration for character motion.


height

height: number

Height of the character's collider capsule.


jumpPower

jumpPower: number

Jump power of the character.


layer

layer: LayerMask

Defines the layers with which the character can collide.


minMoveDistance

minMoveDistance: number

Smallest gap the character can move.


radius

radius: number

Radius of the character's collider capsule.


runSpeed

runSpeed: number

Running speed of the character.


shadow

shadow: GameObject

Visual representation of the character's shadow.


skinWidth

skinWidth: number

Skin width for collision detection, preventing the character from entering into other colliders.


slopeLimit

slopeLimit: number

Steepest degree the character can ascend.


stepOffset

stepOffset: number

Maximum vertical height difference the character can move over.


walkSpeed

walkSpeed: number

Walking speed of the character.