Skip to content

CharacterMeshGeComponent

15.10

Inheritance 6 ancestors · 48 siblings

Class Documentation

Edit documentation

The entity component that a CharacterMeshGeComponentDef adds. It shows the skinned mesh of a character on the map through a game object that exists beside the entity.

  • Spawned. The component reads the character record and the skin from the entity's Character component, a SkinCharacterGeComponentDef. It registers with the entity's SequencerGeComponent.
  • Activate. If no game object is bound to the component, the component creates one and builds its skinned mesh. The mesh takes the light channels of the entity's LightChannelsGeComponent. If PlayIdleAnimation is set, the idle animation then starts.
  • Transform changed. The component moves the game object to the entity's position and rotation.