Hey guys,
simple question:
- How can I move the Cinemachine Spline Cart (in older versions Dolly Cart) manually?
Plan is to move it forward along the spine by dragging the mouse down and vice versa!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveCartWithMouse : MonoBehaviour
{
public float speed = 1.0f;
// Update is called once per frame
private void Update() {
transform.Translate(Input.mouseScrollDelta.y * speed * transform.forward);
}
}
Above script does not do the trick :-/
Appreciate any help