Battle Talent  V11
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CrossLink.PhysicsFollow Class Reference

Inherits MonoBehaviour.

Public Member Functions

void FixedUpdate ()
 

Static Public Member Functions

static void TrackPositionYOnly (Rigidbody follower, float newPosition, float maxDistanceDelta=20)
 
static void TrackPositionIgnoreY (Rigidbody follower, Vector3 newPosition, float maxDistanceDelta=20)
 
static void TrackPositionLerpY (Rigidbody follower, Vector3 newPosition, float yLerp=1, float maxDistanceDelta=20)
 
static void TrackPosition (Rigidbody follower, Vector3 newPosition, float maxDistanceDelta=20, float pullDis=-1)
 
static void TrackRotation (Rigidbody follower, Quaternion newRotation, float maxRotateDelta=40)
 

Public Attributes

Transform target
 
Transform rotationTarget
 
Rigidbody follower
 
float maxDistanceDelta = 10
 
float maxRotateDelta = 20
 
Vector3 ineritia
 
float pullDistance = -1