Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Autodesk Maya 2010 / Custom Locator Node questions - Is this possible??
  RSS 2.0 ATOM  

Custom Locator Node questions - Is this possible??
Rate this thread
 
61369
 
Permlink of this thread  
avatar
  • Total Posts: 3
  • Joined: 21 June 2011 11:08 AM

I have a few things I wish to do and I am not entirely sure whether they are at all possible - I’d like some guidance as to whether I should give up trying.

I have a few custom locator nodes ( loaded from my own mll ).

The things I want to do are basically these,

If the user uses the scale tool to change say, the x scale, I want to copy this value to each of the other scales i.e. Y and Z - thus enforcing uniform scaling. I want this since one of my locators is sphere shaped but it must only be scaled uniformily.

I also have a locator shaped like a capsule - for this one when the user scales in Y on the transform node, I want to intercept this and change the drawing of the locator node so that it gets longer but does not stretch i.e. I want the middle section of the capsule to grow but the hemi-spheres at either end to remain unchanged.

To break it down, if the user selects the transform node of the capsule locator and scales in Y, I want this Y value to be picked up inside the draw call of the locator and then use it to extend the length of the capulse.

Prefereably I would like to do all these things and some more inside my c++ code but i am happy not to if needs must.

Thanks in advance for the advice,

Kil.



Replies: 0