Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Restrict transformation (c++)

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
342 Views, 3 Replies

Restrict transformation (c++)

Hello

 

I have class derived from LightObject that should not be allowed to move by user.

I only need to allow to rotate it in XY plane

How it can be achived?

3 REPLIES 3
Message 2 of 4
istan
in reply to: Anonymous

SetTransformLock() does not help?

Message 3 of 4
Anonymous
in reply to: istan

Yes, looks like what I need, but when I should call it? I need to call after object is placed in the scene

this method is of INode so I need somehow to get a INode of placed node

Message 4 of 4
istan
in reply to: Anonymous

look at REFMSG_GET_NODE_HANDLE

or NOTIFY_NODE_CREATED

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report