This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_playerinputlook [2025/05/09 10:35] – dragonlord | dragengine:modules:dragonscript:behavior_playerinputlook [2025/05/12 15:37] (current) – dragonlord | ||
|---|---|---|---|
| Line 98: | Line 98: | ||
| |down.toggle| |Toggle look down key pressed| | |down.toggle| |Toggle look down key pressed| | ||
| |speed.horizontal|float|Horizontal looking speed in m/s| | |speed.horizontal|float|Horizontal looking speed in m/s| | ||
| - | |analog.horizontal|float, | + | |analog.horizontal|float, |
| |analog.horizontal.factor|float|Analog horizontal looking multiplicator| | |analog.horizontal.factor|float|Analog horizontal looking multiplicator| | ||
| - | |analog.horizontal.sticky|float, | + | |analog.horizontal.sticky|float, |
| |speed.vertical|float|Vertical looking speed in m/s| | |speed.vertical|float|Vertical looking speed in m/s| | ||
| - | |analog.vertical|float, | + | |analog.vertical|float, |
| |analog.vertical.factor|float|Analog vertical looking multiplicator| | |analog.vertical.factor|float|Analog vertical looking multiplicator| | ||
| - | |analog.vertical.sticky|float, | + | |analog.vertical.sticky|float, |
| This is an example of using this action: | This is an example of using this action: | ||
| Line 118: | Line 118: | ||
| ^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
| - | |locomotion|float, '' | + | |locomotion| |Update locomotion applying calculateLookHorizontal() and calculateLookVertical() to [[behavior_locomotion|ECBehaviorLocomotion]].applyLookAround()| |
| This is an example of using this action: | This is an example of using this action: | ||
| <code xml> | <code xml> | ||
| <action name=' | <action name=' | ||
| - | < | + | < |
| </ | </ | ||
| </ | </ | ||