-
-
Notifications
You must be signed in to change notification settings - Fork 2
Forward Rotator
eisclimber edited this page Feb 11, 2024
·
1 revision
class in ExPresSXR.Misc / Extends MonoBehavior
Component added via Component Menu
Follows the provided forward vector with its forward over time. Can be used to create a menu that smoothly follows the player.
-
Transform _followTransform
: The transform providing the direction and position where the menu is shown. Should usually be the rig's Main Camera. -
float _orbitDistance
: The distance to the center of _followTransform the menu is placed. Default: 3.0f -
float _lerpSpeed
: The speed at which the transform rotates towards the 'followTransform'.Default: 1.0f -
float _moveAngeThreshold
: The angle threshold for following. Slight movements will not trigger movement to keep it more stable. Default: 15.0f
-
float LERP_STOP_ANGLE = 1.0f
: Angle to the desired angle at which a lerp is considered complete.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI