I’m trying to move and rotate the player. Moving is easy. I cant figure out the rotation. Here is what I have, I know it’s wrong.
public Transform from;
public Quaternion toPond = new Quaternion(0f, 234f, 0f, 0f);
transform.position = new Vector3(703,36,671);
transform.rotation = Quaternion.Slerp(from.rotation, toPond, 0);
it runs but errors out, saying toPond isn’t defined correctly. The player could be anywhere, but I want to move them to a defined location with a set rotation. how do I define that rotation in the Quaternion variable. Thanks.