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

Public Attributes

Transform FollowTransform
 
CharacterController Character
 The Character Capsule to rotate along with.
 
Vector3 Offset = new Vector3(0, -0.25f, 0)
 Offset to apply in local space to the hmdTransform.
 
float RotateSpeed = 5f
 
float MovementSmoothing = 0
 
bool ParentToCharacter = false
 

Member Data Documentation

◆ Character

CharacterController BNG.RotateWithHMD.Character

The Character Capsule to rotate along with.

◆ FollowTransform

Transform BNG.RotateWithHMD.FollowTransform

◆ MovementSmoothing

float BNG.RotateWithHMD.MovementSmoothing = 0

◆ Offset

Vector3 BNG.RotateWithHMD.Offset = new Vector3(0, -0.25f, 0)

Offset to apply in local space to the hmdTransform.

◆ ParentToCharacter

bool BNG.RotateWithHMD.ParentToCharacter = false

◆ RotateSpeed

float BNG.RotateWithHMD.RotateSpeed = 5f

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