Class LerpArgs
- Namespace
- TrinketTinker.Models.MotionArgs
- Assembly
- TrinketTinker.dll
Lerp args
public class LerpArgs : IArgs
- Inheritance
-
LerpArgs
- Implements
- Derived
- Inherited Members
Properties
Jitter
While within the minimum range, randomly move around a little bit.
public float Jitter { get; set; }
Property Value
Max
Max distance from anchor, if the companion is farther away than this, teleport.
public float Max { get; set; }
Property Value
Min
Min distance from anchor, the companion does not move until they are this far from the anchor.
public float Min { get; set; }
Property Value
MoveSync
Stop moving as soon as the player stops moving, only if the anchor is Owner.
public bool MoveSync { get; set; }
Property Value
MoveSyncAll
Stop moving as soon as the player stops moving.
public bool MoveSyncAll { get; set; }
Property Value
NoOverlap
When the player has multiple companions, avoid moving into the bounding box of another
public bool NoOverlap { get; set; }
Property Value
Pause
Pause between lerp retargeting, in ms
public float Pause { get; set; }
Property Value
Rate
Lerp rate in miliseconds
public double Rate { get; set; }
Property Value
Velocity
Max velocity, -1 to match farmer, -2 for unlimited
public float Velocity { get; set; }
Property Value
Methods
Validate()
Checks if the given arguments are valid, potentially modify arguments to ensure they are valid
public bool Validate()
Returns
- bool
true if valid