TetherPoint
Namespace: Murder.Components
Assembly: Murder.dll
public sealed struct TetherPoint
Represents a single tether point for an entity.
⭐ Constructors
public TetherPoint(int target, float distance, float maxAngleDeviation, float snapDistance)
Parameters
target
int
distance
float
maxAngleDeviation
float
snapDistance
float
⭐ Properties
Length
public readonly float Length;
The desired distance from the tether target.
Returns
float
MaxAngleDeviation
public readonly float MaxAngleDeviation;
The maximum allowable angle deviation from the target's facing direction.
Returns
float
SnapDistance
public readonly float SnapDistance;
The distance at which the entity snaps to the tether target.
Returns
float
Target
public readonly int Target;
The entity ID of the tether target.
Returns
int
⚡