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/07 15:29] – [playerInputLook.set] 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 | + | |analog.horizontal|float, '' |
|analog.horizontal.factor|float|Analog horizontal looking multiplicator| | |analog.horizontal.factor|float|Analog horizontal looking multiplicator| | ||
- | |analog.horizontal.sticky|float|Sticky | + | |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 | + | |analog.vertical|float, '' |
|analog.vertical.factor|float|Analog vertical looking multiplicator| | |analog.vertical.factor|float|Analog vertical looking multiplicator| | ||
- | |analog.vertical.sticky|float|Sticky | + | |analog.vertical.sticky|float, '' |
This is an example of using this action: | This is an example of using this action: | ||
Line 110: | Line 110: | ||
<action name=' | <action name=' | ||
< | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== playerInputLook.update ===== | ||
+ | |||
+ | Update player input look. | ||
+ | |||
+ | ^Parameter^Value^Description^ | ||
+ | |locomotion| |Update locomotion applying calculateLookHorizontal() and calculateLookVertical() to [[behavior_locomotion|ECBehaviorLocomotion]].applyLookAround()| | ||
+ | |||
+ | This is an example of using this action: | ||
+ | <code xml> | ||
+ | <action name=' | ||
+ | < | ||
</ | </ | ||
</ | </ |