View Full Version : in coordsys [matrix3]
lehthanis 11-09-2009, 02:44 PM Does this command let me specify an point from which a transformation will take place? Similar to a working pivot?
I'm rotating and scaling a selection of mesh snapshots, and currently for them to all be correctly located in world space, I have to set them all to have a pivot point (affect pivot only) of 0,0,0.
If I instead do the rotate and scale in coordsys [0,0,0] can I then leave each individual object's pivot alone, and see it rotate and scale based on the 0,0,0 point?
|
|
lehthanis
11-09-2009, 02:54 PM
Apparently not, because matrix3 is not the same as the point3 system I've been using.
Apparently not, because matrix3 is not the same as the point3 system I've been using.
In coordsys matrix3 is equivalent to in coordsys $SomeObject (in the latter case, it just grabs its transform matrix), and both are equivalent to the Pick... transform mode in the Max UI. All transformations will be performed relatively to the .row4 of the matrix if using the reference system's pivot point, with the other 3 rows providing the orientation (X,Y and Z axes of the transform space).
lehthanis
11-09-2009, 03:07 PM
Thanks Bobo! So can I still use that to define an arbitrary matrix with a pivot of 0,0,0 that my objects can rotate and scale around? And do I have to specify all 4 rows in the line?
in coordsys (matrix3 0) rotate selection (EulerAngles -90 0 0)
still rotates the objects around their own pivot points...if I want to change this to rotate around 0,0,0 what does that need to read?
Gravey
11-09-2009, 03:37 PM
if I understand what you are trying to do correctly, I think you should use the about context like so: -- rotate selection about the origin
about [0,0,0] rotate selection (EulerAngles -90 0 0)
lehthanis
11-09-2009, 03:52 PM
Thats exactly what I was looking for! Thank you sooo much! Repped
CGTalk Moderation
11-09-2009, 03:52 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.