Yeah, or you can cast it as a float <font class="small">Code:</font><hr /><pre> int $a = 5; print ("float a= " + (float)$a/2 + " but int a= " + $a/2 ); </pre><hr />
Hi Mop! I don't know if this is what you want, but I just did this one (need some fun ) Then for the Hotkeys, Maya stocks that in 2 or 3 files, I think that suck, then I have a "sama_PersonnalHotkey.mel" in my script directory. And I edit the userSetup.mel in same directory for source my file and it launch it every maya…
Conversion of Selection works fine for me too. Try deleting your maya folder under MyDocuments (Just rename it), restart maya and check if it works now. If so, you have changed something in your preferences that prevents the conversion to work. Regarding Question 2, i think thats probably something you have to get used to…
For say right, since I use Maya I bagan to learn Mel script... Because maya suck for lot of reasons... (has good snap tools but...) So, about move objects in absolute world, you have some Mel script commands.. then for move all your selection in absolute position : <font class="small">Code:</font><hr /><pre>float…
Hey guys, Since I was getting some feedback in the other thread, I thought I'd better move my questions into a new one to avoid clutter. Question 1: With the Absolute/Relative type-in transform fields (far right of the Status Line by default), it doesn't display the values of the current selection. For example if I select…
[ QUOTE ] Woot, back with more questions... Question 2 - Editing Triangulation: In Max I can just go into "Turn Edges" mode, and flip any invisible edges to get the triangulation how I want it, while still leaving only quads visible and editable. In Maya it seems like there is no way to do this - if you re-triangulate a…
IxenonI: Thanks, I didn't know about the component editor. That's useful... however I'd still like to be able to have the values show up in the XYZ fields at the right of the Status Line, just so I don't have to have the Component Editor floating around all the time. I guess I'll have to script that myself. Pretty much…
Woot, back with more questions... Question 1 - Measuring: In Max I can just select any object and immediately see it's exact bounds or dimensions using the Measure tool. How can I do this in Maya? I don't want to have to manually create locators at each furthest point for the default line measure tool to work... Question 2…
Hi, Paul The Bonus Games Tools are available from the AREA website at Autodesk.Com, must be registered on the site to download them : - http://area.autodesk.com/index.php/downloads_plugins/plugin_detail/bonus_tools_for_maya_2008_win32/ Heavily recommend them, there's a a bunch of very useful tools within the package. To…