feat: add initial People Playground mod development kit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/CosmeticRotationBehaviour.html
|
||||
Title: People Playground Modding - CosmeticRotationBehaviour
|
||||
==================================================
|
||||
|
||||
public class CosmeticRotationBehaviour
|
||||
Inherits MonoBehaviour
|
||||
Continuously rotates a transform with velocity and acceleration
|
||||
Nested types
|
||||
CosmeticRotationBehaviour.RotAxis
|
||||
Fields
|
||||
public RotAxis Axis
|
||||
The axis to rotate on
|
||||
|
||||
public Vector3 Offset
|
||||
The offset of the rotation
|
||||
|
||||
public float RotationSpeedTarget
|
||||
The target rotation speed
|
||||
|
||||
public float Dampening
|
||||
Angular velocity dampening value from 0.0 to 1.0
|
||||
|
||||
public float Acceleration
|
||||
The current acceleration
|
||||
|
||||
public bool ShouldRotate
|
||||
Should the acceleration be applied?
|
||||
Reference in New Issue
Block a user