- Home /
Sync Camera and Object
Right now I have a camera following a cube. I want to syncronize the camera and the cube, but I can't use child. The cube is on the floor, and the camera is in the sky so rigidbody.addforce is unequal due to friction. Also, I cannot use transform.position instead of rigidbody.addforce because I need the objects to move around transform.forward. Thank you!
Answer by HarshadK · Dec 01, 2014 at 12:04 PM
@sosh you do not have enough karma to upvote.
@supermiu you can set the position of the camera as per the position of your object in each frame. Use LateUpdate to set the position of camera.
Check out this Third Person Camera tutorial for details as to how it is done.
Your answer
Follow this Question
Related Questions
Player not following touch after camera is rotated? 0 Answers
How to make a dragable cube? (iphone) 1 Answer
Camera rotation around player while following. 6 Answers
Believable cube destruction, with voxels or otherwise 0 Answers
Stop and object from moving faster after a specific speed is reached? 2 Answers