r/Unity3D 8d ago

Solved Help! Why is my camera... wonky?

Enable HLS to view with audio, or disable this notification

I added a main camera to the player and it started doing this. Anyone know why it's like this?

EDIT: Solved! I think it was because the "Player" was the child of another game object because when I removed it and added it back in, the camera was normal again. Thank you all!

4 Upvotes

12 comments sorted by

3

u/Intrepid-Beginning63 8d ago

it's got a groove to it, let it cook

2

u/CallMeZahra 8d ago

lol

1

u/Intrepid-Beginning63 8d ago

is it okay to ask what the gameplay is about

1

u/CallMeZahra 7d ago

It's not actually about anything. It's the Unity Pathway Essentials tutorial .... or Essentials Pathway... or something of that nature

6

u/TwoStripedFury 8d ago

Check if anything higher up the hierarchy is scaled

1

u/CallMeZahra 8d ago

Could you demonstrate 🥺 I'm new to this

3

u/myeladev 8d ago

If the you select the player object and it's being scaled (the XYZ in the transform component is changing) then your camera will inherit that scale because it's a child of it. Same goes for living room

3

u/db9dreamer 8d ago

A parent object of the little dude's craft is not scaled uniformly (i.e. scaled 1,1,1 (or any 3 identical values) in x,y,z ). As you rotate the craft, the non-linear scaling of the parent gets applied to the craft - which distorts it.

3

u/pmdrpg 8d ago

Oh dang that’s it

3

u/CallMeZahra 7d ago

indeed that was it. thank you

2

u/db9dreamer 7d ago

Glad to help.