Camera Control Similar To Scene Editor

I am working on a modern 3D model viewer for browsers which I will release when done, and I am having trouble creating the camera control script.

I a looking for similar movement as is in the scene view editor.

  • Left Mouse Button held down to pivot around object
  • Middle Mouse Button held down to strafe left, right, up and down
  • Middle Mouse scroll for zoom
  • Right Mouse Button held down to strafe left, right, up and down (same as MMB)

The controls scheme I am looking for is very similar to that of the Marmoset Viewer as well.

Anyone?

You didn’t specify what trouble are you having exactly? This thread looks like it should have been posted in Job Offering forum. You will increase your chances of getting helped greatly if you describe the exact problems you’re having, better yet post the code you have so far, especially the parts you’re having problems with.

You might get some ready scripts if someone already has them and feels like sharing but that would be rather lucky I think.