Skip to content

Object Spinner

eisclimber edited this page Jan 18, 2024 · 1 revision

Object Spinner

class in ExPresSXR.Misc / Extends MonoBehaviour
Component added via Component Menu

Description

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.

Members

Public Properties

  • Vector3 rotation: The axis of the rotation of the rotation.
  • float speed: The speed of the rotation (will be multiplied by Time.deltaTime).
  • public bool paused: If the spinner will spin.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally