Skip to content

Instantly share code, notes, and snippets.

@tapuo
Created May 8, 2012 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tapuo/2638796 to your computer and use it in GitHub Desktop.
Save tapuo/2638796 to your computer and use it in GitHub Desktop.
create FKRIG for 3DSMAX
-- 操作用point作成
mapped fn rigPoint x = (
p = x.pos + x.transform.row1 * x.length
b = point pos:p size:10
r = x.rotation
coordsys local (
b.rotation = r
rotate b (angleaxis 90 [0,1,0])
)
b.boneEnable=true
b.parent = x
x.rotation.controller = tcb_rotation()
)
rigPoint $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment