Both sides previous revision Previous revision | Last revision Both sides next revision | ||
hpl3:game:scripting:entity_components [2017/04/20 07:30] alexkalopsia [Sub State] Formatting |
hpl3:game:scripting:entity_components [2017/04/20 07:51] alexkalopsia [General] Clarified how it works |
||
---|---|---|---|
Line 167: | Line 167: | ||
==== General ==== | ==== General ==== | ||
- | This will make the entitie's head follow a certain target. What is the head is set b setting up the bones that makes up the neck and how much influence each should have. This is done using Setup(...) or by using the variables in the .ent file (use LoadFromVariables from the script to load the variables). | + | |
+ | This will make the entity's head follow a certain target. The HeadTracker component needs to be setup loading up the bones that make up the neck and how much influence they have on each other. This can be done manually through the Setup() method, or by reading the variables in the .ent file using the LoadFromVariables() method. | ||
===== ForceEmitter ===== | ===== ForceEmitter ===== |