elevationchanger - eisclimber/ExPresS-XR GitHub Wiki

ElevationChanger

Class in ExPresSXR.Minigames.CoinScale

Inherits from UnityEngine.MonoBehaviour

Summary

This script represents one side of a scale, changing it's position as a delegate of a scale.

Make sure to add a Rigidbody (as a child) and lock it's movement/rotation. This guarantees that objects are pushed correctly. (See the "Push Bases" of the Scale for reference).

public class ElevationChanger : MonoBehaviour

Methods

Name Description
Activate(ScaleState) Starts the transitions from the current to the provided state (=elevation).
⚠️ **GitHub.com Fallback** ⚠️