0
Answered

Wobbly Camera???

kyleoashu 6 months ago in Game Creator updated by eagleeyez 6 months ago 4

So I just created a scene with multiple tween cameras and an adventure camera as well. After the tween cameras the adventure camera begins wobbling and shaking like crazy for no reason. I tried to change the camera to fixed, first person, follow, etc. and nothing has worked! I've seen people with similar issues as mine, but no real solution to this that I can find. What should I do?

Unity version:
2019.3.5f1
Game Creator version:
1.1.5

Answer

+2
Answer

Do not put any camera motors inside the player. They have to be outside the player, you can have an empty game object outside the player called cameras and put  all your motors into that.

GOOD, I'M SATISFIED
Satisfaction mark by kyleoashu 6 months ago
+2
Answer

Do not put any camera motors inside the player. They have to be outside the player, you can have an empty game object outside the player called cameras and put  all your motors into that.

Answered

Yup, Eagleeyez's answer will most likely fix the issue. Camera motors, as a general rule, should not be set inside another game object. There are a few exceptions, but 99% of the cases you want them to be at the root of the scene (or inside a game object that doesn't move).

I'm not sure why everyone is assuming you put the cameras inside another game object, unless I missed it in your question, but I was having the same problem. A trick I found, at least with the Fixed and Tween cameras, is to have them look at a specific point. The "look in current direction" option sometimes isn't enough. Create a simple gameobject, like a sphere, and make sure that it is outside all the other game objects. Place it to where you want your camera to look and copy the coordinates to the "look at point" field in the camera motor parameters. Delete the sphere. This is not a foolproof option, as I'm still fighting with the Tween camera myself, but it works sometimes.

+1

if you have 100 camras then you do not want to clutter up your scene, that is why you put it into an empty game object and name it cameras. 

The important thing to realise is that no cameras should be placed in the player and the camera parent should not move with anything. The camera parent with all its cameras should be on it's own in the root hierarchy.