Jump to content

Hiding the arc of the camera movement


Mezzorio
 Share

Recommended Posts

Hey Guys! I have a video demo of what my build, What i'm struggling with is how to make it seem flatter when panning from left to right and hiding the fact you can see the edges or the circle the sprites are positioned in and can tell they are coming round in a circle not across a flat image, which is the effect i'm after. Here is a youtube video of my current build, and a babylon playground with broken textures (sorry!) to view how i'm going about the build!

Playground: https://playground.babylonjs.com/#IDDZ4K

Youtube: 

 

 

Link to comment
Share on other sites

Don't position them in a circle.  Line them all up and then translate the camera instead of rotating it.  When you the camera gets to the end, move the meshes one by one from one side to the other.

I just looked at your PG.  If you aren't moving the camera, move the meshes and when a mesh gets to the end, move it to the other side.  You should be able to do that easily with the modulus operator (%).

Link to comment
Share on other sites

6 minutes ago, adam said:

Don't position them in a circle.  Line them all up and then translate the camera instead of rotating it.  When you the camera gets to the end, move the meshes one by one from one side to the other.

I just looked at your PG.  If you aren't moving the camera, move the meshes and when a mesh gets to the end, move it to the other side.  You should be able to do that easily with the modulus operator (%).

Hey @adam I have been looking at doing that, but i've been struggling to get it working and looping, could you possibly make a mini demo for me?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...