Files
ppg-modkit/extracted_wiki_content/internalReference/gforcemeasurebehaviour.txt

29 lines
862 B
Plaintext

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