-
-
Notifications
You must be signed in to change notification settings - Fork 2
Object Spinner
eisclimber edited this page Jan 18, 2024
·
1 revision
class in ExPresSXR.Misc / Extends MonoBehaviour
Component added via Component Menu
Spins the object it is attached to around its pivot on the axis described by rotation
and with a certain speed
(multiplied by Time.deltaTime
).
Note: Set the spinner paused (or disable it) when using it in combination with a (Put back) sockets to prevent objects from spinning after being released.
-
Vector3 rotation
: The axis of the rotation of the rotation. -
float speed
: The speed of the rotation (will be multiplied byTime.deltaTime
). -
public bool paused
: If the spinner will spin.
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