public struct SharpAxis

[Serializable]

A structure that describes a sharp point on an object.

Fields

public Vector2 Axis

The axis of the sharp point in local space.


public float LowerLimit

The lower bound of the sharp axis. A victim object will not be able to slide any lower on the object than this value allows.


public float UpperLimit

The upper bound of the sharp axis. A victim object will not be able to slide any higher on the object than this value allows.


public bool LooseUpperLimit

Determines whether the upper bound of the axis is loose. When true, this end of the axis is sharp. While it is technically possible for both ends to be sharp, it is not fully supported.


public bool LooseLowerLimit

Determines whether the lower bound of the axis is loose. When true, this end of the axis is sharp. While it is technically possible for both ends to be sharp, it is not fully supported.


Methods

public (constructor) SharpAxis(Vector2 axis = default, float lowerLimit = 0, float higherLimit = 100, bool looseUpper = true, bool looseLower = false)

Constructs a structure that describes a sharp point on an object.


Attention!

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

bi bij bibi