Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by GODLIKE · May 16, 2010 at 01:30 AM · cameraeditorspeed

How to reduce cam speed in the editor?

I find the cam speed in the editor a bit too fast... I'd like to make it 3/4 or 3/5 of what is now. Is it possible?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

6 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Sebas · May 16, 2010 at 02:16 AM

Sorry, I wasn't talking about editor camera, hence the edit. There's no easy way that I know of to change the editor camera's movement.

I suppose if it's very vital to your workflow you could extend your editor and manipulate your scene view camera. If you are within the Editor class, you can use OnSceneGUI() to do stuff to your scene view. I tried something like this to capture input and manipulate the scene camera, but to no avail yet:

@CustomEditor (MoveSceneCam) class MoveSceneCamEditor extends Editor {

 function OnSceneGUI () {

    if (Event.current.type == EventType.MouseDown) {

       Debug.Log(Camera.current.transform.position.x);

    }
 }

}

You access your scene view camera by using Camera.current. That would be at least a start, but I didn't get it to work yet. Have a look around the forums and script reference for OnSceneGUI() and editor extensions.

I'll give it another go soon.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image GODLIKE · May 16, 2010 at 12:12 PM 0
Share

Thank you, I suspected that... I hope that a script will solve all. Now that we are here, can you tell me how to add a camera to the scene and if it is possible to use that as camera to move in the scene in the editor? If so, maybe I can set camera speed in there?

avatar image Sebas · May 16, 2010 at 08:13 PM 0
Share

If you want to use the "scene camera", it is already there by default in a new project. You access this camera by using Camera.current within OnSceneGUI() in a script running in edit mode. You don't have to add any additional cameras to your project to do this.

avatar image Sebas · May 16, 2010 at 08:14 PM 0
Share

In this script you could then theoretically set the transform of the scene camera by a keypress. I'll give that a try later today when I have more time.

avatar image Random Indie · May 17, 2010 at 12:56 AM 0
Share

I didn't know you could do that. Learn something new every time I come here. +1 Sebas.

avatar image GODLIKE · May 21, 2010 at 12:14 PM 0
Share

Thank you Sebas, I guess that will do the trick! I would give you a vote but I can't!

avatar image
3

Answer by tangwilliam · Dec 16, 2016 at 11:51 AM

You can both press alt key and right button while move the mouse up or down. This may give you what you want.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kamran-bigdely · Jan 23, 2017 at 09:18 PM 0
Share

That's actually gives you very small step for camera movement.

avatar image An3Apps · Jun 18, 2019 at 12:32 AM 0
Share

Wow! I can't believe I barely found out about this. This is so useful! Thanks!

avatar image SweatyChair · Jun 30, 2021 at 07:23 AM 0
Share

That's not a perfect solution but works great as workaround!

avatar image Bunny83 SweatyChair · Jun 30, 2021 at 08:26 AM 0
Share

Unity now has a camera speed setting in the latest Unity version(s). See the comments under Eric's answer over here. Quite some time ago, before Unity has that camera speed setting, I've actually created a scene camera movement "replacement" over here. Note that this of course changes how the camera controls work since this is a completely custom camera control. However it was designed to "mimic" Unity's own controls at that time. So I can't tell whether it still works on the latest Unity version.

avatar image
1

Answer by Random Indie · May 16, 2010 at 02:45 AM

As far as I know there's no way to decrease the step size of editor camera. You could try using one of the alternate control schemes. Hit 'q' then hold the right mouse button. You can zoom in and out by movig the mouse up and down. Gives more precise control than the other ways.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by EyePD · Apr 26, 2016 at 09:59 PM

I'm working on small objects a few cm in length. I was able to adjust the zoom accurately by doing alt-right mouse drag but the WASD step size is still a problem when working at small scale. I was able to kind of move and rotate around a bit by using right drag and left drag over and over but it's not the smooth WASD navigation we need.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Xarbrough · Jan 24, 2017 at 12:06 AM

This sounds like you are working at extremely small scale. There are a couple of reasons to advise against this, so maybe you want to try and scale up your scene instead of trying to make the camera slower. Basically, all calculations are limited in precision by the fact that floats are used to store things like position, transformation, collider size, etc. If you are working at very large or very small ranges, you might encounter problematic imprecisions. Also, the Physics system is modelled around the idea of 1 unit cube equals 1 meter. Lighting is another example where you might see issues. It is very likely that, whatever reason you have for a small scene, you can solve the problem in another way.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why my Roguelike 2D graphics are naughty in devices? 1 Answer

Align with view programmatically 9 Answers

Camera behavior the same as the unity editor has 2 Answers

Draw Camera to Editor Window 1 Answer

How to create an editor screenview like "camera preview" window for cameras? 4 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges