Jump to content
Developer Wiki and Function Reference Links ×

Hybrid object 3D transforms


JBenghiat

Recommended Posts

I'm curious if anyone has experience working with kObjXPropHybridSupports3DTransforms enabled.

 

I essentially have two questions:

Is there any difference between handling moves and rotations in UpdateSupport as state events verses overriding OnModifyObjectCommand? If using OnModifyObjectCommand, does that mean the code doesn't have to first reverse the transformation and then handle accordingly?

 

How does one decode the transformation type from the transformation matrix? Is it as easy as calling VWTransformationMatrix::GetAngles? If a mirror was performed, how so we determine the location and orientation of the mirror plane? 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...