VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.PlayerMovingPlatformSupport Class Reference
Inheritance diagram for BNG.PlayerMovingPlatformSupport:

Public Member Functions

virtual void CheckMovingPlatform ()
 
virtual void UpdateCurrentPlatform ()
 
virtual void UpdateDistanceFromGround ()
 

Public Attributes

LayerMask GroundedLayers
 
float DistanceFromGround
 
MovingPlatform CurrentPlatform
 The platform we are currently on top of, if any.
 

Protected Attributes

RaycastHit groundHit
 

Member Function Documentation

◆ CheckMovingPlatform()

virtual void BNG.PlayerMovingPlatformSupport.CheckMovingPlatform ( )
virtual

◆ UpdateCurrentPlatform()

virtual void BNG.PlayerMovingPlatformSupport.UpdateCurrentPlatform ( )
virtual

◆ UpdateDistanceFromGround()

virtual void BNG.PlayerMovingPlatformSupport.UpdateDistanceFromGround ( )
virtual

Member Data Documentation

◆ CurrentPlatform

MovingPlatform BNG.PlayerMovingPlatformSupport.CurrentPlatform

The platform we are currently on top of, if any.

◆ DistanceFromGround

float BNG.PlayerMovingPlatformSupport.DistanceFromGround

◆ GroundedLayers

LayerMask BNG.PlayerMovingPlatformSupport.GroundedLayers

◆ groundHit

RaycastHit BNG.PlayerMovingPlatformSupport.groundHit
protected

The documentation for this class was generated from the following file: