This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Sign in to follow this  
UnityGamesRoland

Smooth Camera Orbit Movement C#

1 post in this topic

I made this script for a texture and shader calibration scene, but this can be useful in many cases, for example inspecting an item or a gun. 

Just attach the script to the camera and you are good to go. Once you set the target transform and hit play, hold down the LMB to orbit around the target object.

 

1tzym5.gif.b73d3f783e3f3d4c4fa993b7369ea28b.gif

 

Please login or register to see this spoiler.

 

Edited by UnityGamesRoland

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this