This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| dragengine:modules:dragonscript:behavior_actoranimated [2026/11/24 20:41] – [actorAnimated.set] dragonlord | dragengine:modules:dragonscript:behavior_actoranimated [2026/11/24 20:44] (current) – [controllerMapping (behavior factor)] dragonlord | ||
|---|---|---|---|
| Line 43: | Line 43: | ||
| Sets the animator controller mappings. These mappings are assigned to [[behavior_locomotion|ECBehaviorLocomotion]] if present in the class. This allows to easily apply certain actor input parameters to animators using controllers of the matching names. This is a behavior factory only parameter (see section [[# | Sets the animator controller mappings. These mappings are assigned to [[behavior_locomotion|ECBehaviorLocomotion]] if present in the class. This allows to easily apply certain actor input parameters to animators using controllers of the matching names. This is a behavior factory only parameter (see section [[# | ||
| - | * "idle": LocomotionAttribute.elapsedTime | + | * '' |
| - | * "look.vertical": LocomotionAttribute.lookVertical | + | * '' |
| - | * "look.horizontal": LocomotionAttribute.lookHorizontal | + | * '' |
| - | * "turn.inPlace": LocomotionAttribute.timeTurnIP | + | * '' |
| - | * "turn.velocity": LocomotionAttribute.turningSpeed | + | * '' |
| - | * "stance": LocomotionAttribute.stance | + | * '' |
| - | * "move.walk": LocomotionAttribute.displacement | + | * '' |
| - | * "move.run": LocomotionAttribute.displacement | + | * '' |
| - | * "move.velocity": LocomotionAttribute.relativeMovingSpeed | + | * '' |
| - | * "move.speed": LocomotionAttribute.movingSpeed | + | * '' |
| - | * "move.direction": LocomotionAttribute.movingDirection | + | * '' |
| - | * "tilt.vertical": LocomotionAttribute.tiltVertical | + | * '' |
| - | * "tilt.horizontal": LocomotionAttribute.tiltHorizontal | + | * '' |
| - | * "tilt.offset": LocomotionAttribute.tiltOffset | + | * '' |
| - | * "interaction": LocomotionAttribute.elapsedTime | + | * '' |
| Hence if you want an animator to react to the movement speed add a controller named '' | Hence if you want an animator to react to the movement speed add a controller named '' | ||
| + | |||
| + | The following values can be used for '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| ====== Events ====== | ====== Events ====== | ||