Skip to content

Player Gravity

eisclimber edited this page Apr 20, 2024 · 1 revision

Player Gravity

class in ExPresSXR.Movement / Extends PlayerForceBase
Component added via Component Menu

Description

Applies a constant gravity on the player while still allowing teleportation, climbing, other movement.

Members

Public Properties

  • bool applyGravity: The gravity applied to the player. The default is Unity's default gravity. Default: true
  • Vector3 _gravity: The gravity applied to the player. The default is Unity's default gravity. Default: Physics.gravity = (0.0f, -9.81f, 0.0f)

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally