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: 

help MaxScript for rig system

0 REPLIES 0
Reply
Message 1 of 1
black_angelo90
275 Views, 0 Replies

help MaxScript for rig system

hey guys, i have a small problem with a script that i am trying to do 

the idea is to make a script that can create a rig for any characters (standard rig for people ) with a few clicks ... so the problem is when i try to align a bone to a dummy it aligns the position but not the rotation.

 

you will find below a screenshot of the result i am getting 

by the way this is my first time in maxscript and here is the code : 

 

 

maxops.affectchildren=false


select $Dummy001
aa = $.rotation.x
bb = $.rotation.y
cc = $.rotation.z
a = $.pos.x
b = $.pos.y
c = $.pos.z
select $Bone001
$.rotation.x = aa
$.rotation.y = bb
$.rotation.z = cc
$.pos.x = a
$.pos.y = b
$.pos.z = c


select $Dummy002
aa = $.rotation.x
bb = $.rotation.y
cc = $.rotation.z
a = $.pos.x
b = $.pos.y
c = $.pos.z
select $Bone002
$.rotation.x = aa
$.rotation.y = bb
$.rotation.z = cc
$.pos.x = a
$.pos.y = b
$.pos.z = c


select $Dummy003
aa = $.rotation.x
bb = $.rotation.y
cc = $.rotation.z
a = $.pos.x
b = $.pos.y
c = $.pos.z
select $Bone003
$.rotation.x = aa
$.rotation.y = bb
$.rotation.z = cc
$.pos.x = a
$.pos.y = b
$.pos.z = c

screenshot

 

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report