using PhysicsTools; using UnityEngine; public class MoveCube : MonoBehaviour { public Vector3 velocity = new Vector3(0f, 0f, 0f); public Rope rope; public float incDist = 1f; private void Start() { } private void FixedUpdate() { Vector3 position = base.gameObject.transform.position; position += velocity * Time.fixedDeltaTime; base.gameObject.transform.position = position; } private void Update() { } }