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


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi