Hello,
I have a TransformObject and want only one axis of rotation be animated is there a way to do this and if the object already exist, is there a way to unpromote parameters?
thanks
Martin
locking or unpromoting parameters
284 4 1-
- sanostol
- Member
- 595 posts
- Joined: Nov. 2005
- Offline
-
- Umang_Raj
- Member
- 48 posts
- Joined: March 2024
- Offline
First, easiest, reccomended way to achive this is by using the apex configure controls node, you can set transform limits on control on that node, by creating a configuration from the multiparm, select the controls you want to affect, turn on use limits, and then specify the parameter names which you want to set limits on (for example 'r') and you can set the a hard limit using min and max lock, for example, if you don't want y rotation, keep min and max lock for that on 0 and 0, others to , i don't remember, i think it goes from -360 to 360, so set it on that.
Second way to do it, from the graph, if the transformobject controls a skeleton joint, take its output transform matrix before it goes to the pointtransform node, use the transform explode node and then a vec3 to float, then connect it with a float to vec3, omit the connections for the axis you don't want to use, and then put the transform into a transform build, the axis will still be modifiable in the anim state, but it won't modify the joints hopefully.
The first, configure controls way is the best way, because it will remove that control from the anim state too.
Thank you!
Second way to do it, from the graph, if the transformobject controls a skeleton joint, take its output transform matrix before it goes to the pointtransform node, use the transform explode node and then a vec3 to float, then connect it with a float to vec3, omit the connections for the axis you don't want to use, and then put the transform into a transform build, the axis will still be modifiable in the anim state, but it won't modify the joints hopefully.
The first, configure controls way is the best way, because it will remove that control from the anim state too.
Thank you!
-
- sanostol
- Member
- 595 posts
- Joined: Nov. 2005
- Offline
-
- william_harley
- Staff
- 105 posts
- Joined: Oct. 2023
- Offline
-
- jerry7
- Member
- 680 posts
- Joined: Nov. 2013
- Offline
-
- Quick Links


