This script will adjust the player's virtual height to match the 'DesiredPlayerHeight' property. For example, if the player's height is 1.5 meters tall, but the DesiredPlayerHeight = 1.6, then the player's virtual height will be increased by 0.1.
More...
This script will adjust the player's virtual height to match the 'DesiredPlayerHeight' property. For example, if the player's height is 1.5 meters tall, but the DesiredPlayerHeight = 1.6, then the player's virtual height will be increased by 0.1.
◆ CalibrateHeight() [1/2]
| void BNG.CalibratePlayerHeight.CalibrateHeight |
( |
| ) |
|
◆ CalibrateHeight() [2/2]
| void BNG.CalibratePlayerHeight.CalibrateHeight |
( |
float |
calibrateHeight | ) |
|
◆ GetCurrentPlayerHeight()
| float BNG.CalibratePlayerHeight.GetCurrentPlayerHeight |
( |
| ) |
|
◆ ResetPlayerHeight()
| void BNG.CalibratePlayerHeight.ResetPlayerHeight |
( |
| ) |
|
◆ SetInitialOffset()
| virtual void BNG.CalibratePlayerHeight.SetInitialOffset |
( |
| ) |
|
|
virtual |
◆ CalibrateHeightAction
| InputAction BNG.CalibratePlayerHeight.CalibrateHeightAction |
◆ CalibrateOnStart
| bool BNG.CalibratePlayerHeight.CalibrateOnStart = true |
◆ DesiredPlayerHeight
| float BNG.CalibratePlayerHeight.DesiredPlayerHeight = 1.65f |
◆ PlayerController
The documentation for this class was generated from the following file: