YaCharacterAPI¶
Beta
CharacterAPI. Character represents player-controlled avatar or NPCs in the scene.
Functions¶
is character or not
is character controlled by input
get avatar player entity
Push event
callback
callback functarget
The character target been pushedtrigger
The push entitydirection
push directiondistance
push distance
Fall event
OnGround event
Enter trigger event
Exit Trigger event
Die event
Start swim event
End swim event
Get the Tool in hand
Get a tool on a binding
Get all the Tools on a bind point
Get all the tools on the character