Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Featured Threads
  inspiration alert!!!
(37 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

AverageSelVertCenter - Not giving Actual Vert center
show user profile  ccampbell
This should b e a simple one i'm sure...

I am selecting an editable mesh object then making a vertex selection then using the command(s)

AVC = AverageSelVertCenter $
sphere radius:3 pos:AVC

Problem is it is - Its creating the sphere super far away from the actual Vert Centers(Always on the grid some place). I have had to calculate this before but i wrote my own script for doing it. now i just want to make this work cause its annoying. Any thoughts are greatly appreciated.

$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};

read 298 times
2/8/2012 6:59:57 PM (last edit: 2/8/2012 7:00:47 PM)
show user profile  Garp
You're getting the coordinates in the object's local system. Use AVC = averageSelVertCenter $ * $.transform

read 292 times
2/8/2012 7:33:29 PM (last edit: 2/8/2012 7:35:37 PM)
show user profile  ccampbell
As usual... U da man! thanks alot bro.

$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};

read 273 times
2/9/2012 4:16:46 AM (last edit: 2/9/2012 4:16:46 AM)
#Maxforums IRC
Open chat window