I get an error “NullReferenceException” in line 16 but I assume the problem has to do with in line 12 where I define playerPos. (New to Unity)
Have you assigned the Tag “Player” to the Player object?
One thing that I’m noticing also. The Start() method must be with an capital “S”. Maybe playerPos is not initialised because of this.
1 Like
That would definitely stop it from working. Good find