Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
1.1.0:charactercontrolling [2024/01/29 15:02] – [Push / Pull] admin | 1.1.0:charactercontrolling [2024/01/29 15:05] (current) – [Speed] admin | ||
---|---|---|---|
Line 94: | Line 94: | ||
You can implement that yourself by OnMove and OnRotate event | You can implement that yourself by OnMove and OnRotate event | ||
- | === Speed === | + | === Speed === |
In case movement or rotation speed does not suit your needs. | In case movement or rotation speed does not suit your needs. | ||
Line 107: | Line 107: | ||
|CrouchingSpeedReduction|Factor of reduction on speed if state is fpCrouching. Values between 0.0 - 1.0 are allowed. Default value is 0.15.| | |CrouchingSpeedReduction|Factor of reduction on speed if state is fpCrouching. Values between 0.0 - 1.0 are allowed. Default value is 0.15.| | ||
+ | === Boost === | ||
+ | |||
+ | The boost mode getting triggered by the OnBoost event. | ||
+ | By default boost mode is active by holding the left shift key down or the left shoulder button on your gamepad. | ||
+ | |||
+ | " | ||
+ | And the current speed value can be the normal speed or reduced speed by crawling and crouching. | ||
+ | |||
+ | If boost movement is active, states should contain the fpBoost flag. | ||
=== Rotation Sideways | === Rotation Sideways | ||
Line 230: | Line 239: | ||
Two states are not automatically handled, because developers always have to decide when pushing or pulling is activated. | Two states are not automatically handled, because developers always have to decide when pushing or pulling is activated. | ||
+ | |||
When pushing is active states should contain the **fpPushing** state. | When pushing is active states should contain the **fpPushing** state. | ||
+ | |||
When pulling is active states should contain the **fpPulling** state. | When pulling is active states should contain the **fpPulling** state. | ||