change shape of layout to sphere

29 views
Skip to first unread message

RileyWMurphy

unread,
Aug 5, 2009, 12:57:50 PM8/5/09
to skyrails-public
Are any of you aware of any commands to change the shape of the layout
to a sphere?

Thanks,

Riley

Yose Widjaja

unread,
Aug 5, 2009, 8:46:34 PM8/5/09
to skyrail...@googlegroups.com
with all nodes do (nodesphere (3d:0 0 0) 4.0 1.0 true; ) end;

the arguments to nodesphere are the center coordinate (here we have the origin, aka 3d:0 0 0), the radius, the hardness of the command (how strong is the constraint being reinforced), and whether it's within the sphere (true), or only in the circumference (false).

I might have got that last bit flipped, but yeah, just experiment with it.

Cheers
--
-- -- -- -- -- -- -- -- -- -- -- -- -- --
Yose Widjaja
Supreme Emperor @ Jormy Games
www.jormy.com
yo...@jormy.com
-- -- -- -- -- -- -- -- -- -- -- -- -- --
Reply all
Reply to author
Forward
0 new messages