using UnityEngine; public class FollowTransformVelocity : MonoBehaviour { public TransformVelocity transformVelocty; private void Start() { } private void FixedUpdate() { base.transform.position = transformVelocty.transform.position + transformVelocty.velocity * 5f; base.transform.rotation = transformVelocty.transform.rotation; } }