Jump to content

Sign in to follow this  

Keep object in center of camera

Recommended Posts

hey guys, 


i'm working on this video using the sound effector: 



How i laid out the scene: the first take is a static iphone and the camera zooms in.


The second take the camera is rotating in a circular motion while the phone is also rotating in the same circular motion of the camera.

If you notice starting 38 seconds both the camera and iphone are rotating but the iphone is never in the center of the camera as that happens.


How i animated it: I added a Circle, Aligned the camera to the spline of the circle and added keyframes on the position from 0 to 100.

I did the same thing for the iphone with a smaller circle, made sure the iphone Axis Center is correct, and it only makes sense that it doesn't stay in the center of the screen as it rotates.

How can i keep the iphone (and if possible the blue cube behind it) in the exact same location as they rotate following the guide of the camera while they remain in the very center of the frame at all times?



Here is a screenshot of how the scene is laid out: 2 Circle splines


Also, one more question: i added a Rigid Body tag to the iphone and put Off on Dynamic, so that the spheres don't penetrate the iphone but just collide around it, it didn't work they're penetrating the iphone. how can i also fix this?


Many thanks!

Share this post

Link to post

I think you need a target tag on the camera, into which you would drag the iphone so the camera always looked at it...

Not enough info to address the other problem without the scene file.



Share this post

Link to post
  • Topic Author
  • I had added a Camera Target for the iPhone, and added a Sphere Target to the camera. Now that I've added an iPhone target to the Camera the iPhone is always centered, which is pefect, but there is still a problem in the Z axis as this screenshot:




    sometimes it gets close, sometimes it gets far. The whole thing i'm struggling with is managing the order and complexity of the elements to follow one another in harmony:

    The cube (background), the iphone and the spheres of music should always be in harmony and rotating together in the right distance with the iphone being the most prominent object (always on top)


    Maybe if i add all 3 to a Null i can work something around that? My concern is that i added plenty of Random Effects/Sound Effector and Delay to the Cloner of spheres, so there's a whole lot going on already and i wouldn't know which would be the orderly way to group them all together.


    Here is the scene file: 



    Regarding the Rigid File notice how the Sphere is penetrating the iPhone even though i added a Rigid Body tag to the iPhone and made Dynamics Off


    Share this post

    Link to post
  • Topic Author
  • I've grouped all the elements in one Null, added a Align to Spline to the Null Object that is rightly centered and added a Target Tag to the camera moving so that the iPhone is always in the middle.


    The iphone is constantly in the middle but the turning is incorrect, it isn't facing the camera and the cube and spheres behind it aren't rotating according to one pivot point.




    How can i do that?

    Share this post

    Link to post

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    Latest Topics

    Latest Comments

    • Create New...