feat: add initial People Playground mod development kit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/GForceMeasureBehaviour.html
|
||||
Title: People Playground Modding - GForceMeasureBehaviour
|
||||
==================================================
|
||||
|
||||
public class GForceMeasureBehaviour
|
||||
Inherits MonoBehaviour
|
||||
[RequireComponent(typeof(Rigidbody2D))] [SkipSerialisation]
|
||||
Calculates g-force and provides some useful relevant functionality
|
||||
Fields
|
||||
public float SustainedAccelerationRatio
|
||||
[SkipSerialisation]
|
||||
No description provided
|
||||
|
||||
Properties
|
||||
public Vector2 Velocity
|
||||
[SkipSerialisation]
|
||||
Velocity of the body
|
||||
|
||||
public Vector2 VelocityLastFrame
|
||||
[SkipSerialisation]
|
||||
Velocity of the body last frame
|
||||
|
||||
public Vector2 Acceleration
|
||||
[SkipSerialisation]
|
||||
Acceleration of the body in the current frame
|
||||
|
||||
public Vector2 SustainedAcceleration
|
||||
[SkipSerialisation]
|
||||
Acceleration of the body over time (duration based on SustainedAccelerationRatio
|
||||
Reference in New Issue
Block a user