- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
lhioui · May 17, 2015 at 08:30 PM ·
2drotationanchorpivot-pointorthogonal camera
rotation anchor, pivot point
Hi ,
i'm a rookie in Unity3D development and I've parsed the entire forum in order to find a solution about my problem. i've a character which walk through a path in a top 2D view. i want him to be the anchor (pivot) point of my entire scene which should turn around him. is it possible to make the (x,y ) character's position, the origin and anchor of the rotation?
thank you for your answer and help .
Comment
Answer by Cherno · May 17, 2015 at 10:18 PM
You just have to make the camera a parent of the player object, set it's x and z transform.position values to 0 and it's y value to however high you want the camera to be, and point it directly down (-90 on x rotation axis).