Skip to content

playerforcebase

eisclimber edited this page Apr 4, 2026 · 1 revision

PlayerForceBase

Class in ExPresSXR.Movement

Inherits from UnityEngine.MonoBehaviour

Summary

A base class that can be used to apply a force on the player, while providing an solution for the use with teleportation movement. Derived classes must implement the movement itself by calling _characterController.Move() during Update() but only apply the force only _forceTemporarilyDisabled

public abstract class PlayerForceBase : MonoBehaviour

Methods

Name Description
ClearVelocity() Sets the current velocity to (0, 0, 0).

Properties

Name Description
CurrentVelocity The current velocity applied.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally