Any help would be grand!
I am trying to recieve the transform.position of a global Transform for a Spawn function.
Here’s what I am working with so far…
public class Creature_Movement : MonoBehaviour
{
public static Transform spawnPointForPlayer1;
public static void Spawn()
{
// reset the character’s speed
movement.verticalSpeed = 0.0f;
movement.speed = 0.0f;
// reset the character’s position to the spawnPoint
transform.position = Creature_Movement.spawnPointForPlayer1.transform.position;
}
}