PolytorianModel¶
Inherits CharacterModel
PolytorianModel is a CharacterModel that represent default Polytoria Character.
Properties¶
HeadColor : Color¶
The head color
TorsoColor : Color¶
The torso color
LeftArmColor : Color¶
The left arm color
RightArmColor : Color¶
The right arm color
LeftLegColor : Color¶
The left leg color
RightLegColor : Color¶
The right leg color
FaceImage : ImageAsset¶
The face image to use
ShirtImage : ImageAsset¶
The shirt image to use
PantsImage : ImageAsset¶
The pants image to use
TorsoMesh : MeshAsset¶
The torso mesh to use
Ragdolling : boolean¶
Returns true if this character is ragdolling
RagdollPosition : Vector3¶
Returns the current global ragdoll position, if ragdoll haven't starts yet. Returns Vector3.Zero
RagdollRotation : Vector3¶
Returns the current global ragdoll rotation, if ragdoll haven't starts yet. Returns Vector3.Zero
Methods¶
StartRagdoll → nil¶
Parameters: force [ Vector3? ]
Start ragdoll
StopRagdoll → nil¶
Parameters: ``
Stop ragdoll
GetAttachment → Dynamic¶
Parameters: attachmentEnum [ CharacterAttachment ]
Get an attachment from this character.
LoadAppearance → nil¶
Parameters: userID [ number ]
Load an appearance.
ClearAppearance → nil¶
Parameters: ``
Clear current appearance.
Events¶
RagdollStarted¶
Parameters: ``
Fires when ragdoll has been started
RagdollStopped¶
Parameters: ``
Fires when ragdoll has been stopped