feat: add initial People Playground mod development kit
This commit is contained in:
32
extracted_wiki_content/internalReference/sharpaxis.txt
Normal file
32
extracted_wiki_content/internalReference/sharpaxis.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/SharpAxis.html
|
||||
Title: People Playground Modding - SharpAxis
|
||||
==================================================
|
||||
|
||||
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.
|
||||
|
||||
public float MaxDotAxisVelocity
|
||||
The maximum dot product between the normalised relative velocity (of the sharp object and the victim) and the globalised sharp axis direction
|
||||
|
||||
public float MaxDotAxisNormal
|
||||
The maximum dot product between the impact surface normal and the globalised sharp axis direction
|
||||
|
||||
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.
|
||||
Reference in New Issue
Block a user