H
H
HoloFair SDK V4
Search
⌃K

Add Force

Parkour and fun run games with physics based courses
In order to create fun, physics-based games, you'll need ways to affect the player's physics component. AddForceView allows you to apply force on the player in specific conditions.
Create an GameObject with AddForceView and GuidComponent.
This applies a force to the player in the direction of the local up of this object. The force is multiplied by Value. You may also specify the Force Mode.
To apply the force, call AddForceView.ApplyForce().