Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[MEL] dollyTowardsCenter: how does it work?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Br0ken1334
319 Views, 1 Reply

[MEL] dollyTowardsCenter: how does it work?

Hi!

I want to move my camera 5 units forward with Dolly Towards Center = off, but it moves to center of viewport, not to mouse cursor. My command is:

dolly -d -5 -dtc 0 persp;

 Quote from documentation about -dtc flag:

"This flag controls whether the dolly is performed towards the center of the view (if true), or towards the point where the user clicks (if false). By default, dollyTowardsCenter is on."

What I'm doing wrong?

Tags (3)
1 REPLY 1
Message 2 of 2
sean.heasley
in reply to: Br0ken1334

Hi @Br0ken1334

 

I don't believe this is possible. The flag is available to disable the towards center option but the MEL alone can't respect mouse location.

 

What you could do, is set up a hotkey or script that simply disables the dollyTowardsCenter and then just click and move your mouse like normal to dolly forward.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report