I have a sentry gun scripted to follow or look at my character. In the scene view the sentry gun rests flat on a surface, but in game view it is turned on its side… Why does this happen and how can I fix it?
The sentry gun is a 3D game object with no rigid body, has mesh renderer, mesh collider, textures and a script to look at target. It will be a simple, stationary AI/enemy character when finished.
Script:
[8964-screenshot+(1).png|8964]
Imagine the sentry gun or game object is attached to a DVD that lays flat on the ground when in scene view, but when you go into game view, that DVD and game object are standing on its side.