Im creating my own geometry dash, and i don’ t know how to make camera moving the cube,I’m creating my own geometry dash, and i will make a nice camera moving with player…
You mean a camera script that follows the player?
if thats the case try this:`public class CameraScript : MonoBehaviour
{
public Transform target;
public float smoothSpeed = 10f;
public Vector3 offset;
void LateUpdate()
{
Vector3 desiredPosition = target.position + offset;
Vector3 smootherPosition = Vector3.Lerp(transform.position, desiredPosition, smoothSpeed * Time.deltaTime);
transform.position = smootherPosition;
}
}
`