Banks Posted October 12, 2012 Share Posted October 12, 2012 Hey Houdini Heroes! Could someone point me in the right direction; I'm currently working thru the CG-Masters asteroid tutorial and have attempted to test my knowledge and take it a bit further. I would like to know how to make the falling asteroids tumble as they fall (random rotation). The asteroids are simple geometry copied onto a pre-rendered particle sim. At the moment they simply fall and look quite static, i thought it would look cool if they tumbled as they fell with randomised tumble speeds stamped onto the points. If anyone could direct me to a handy expression (and where to put it!) that'd be a great help. I would describe myself as a competent beginner - comfortable using CHOPs (not so much DOPS), POPs and expressions / attributes. I like the idea of using CHOPs to do it, but keep hitting a wall as to where to pipe the data. Many thanks. Banks. . Quote Link to comment Share on other sites More sharing options...
bloomendale Posted October 12, 2012 Share Posted October 12, 2012 Hi. If you're just copying asteroid shapes on points via copy sop then create stamp variable == $PT and then stamp it for example in TransformAxis sop in Direction parameter as something like fit01(rand(stamp("../copy1", "stampvar", 0) + 123), -1, 1) for every axis (just add different numbers, not only 123 in every channel). Quote Link to comment Share on other sites More sharing options...
Banks Posted October 12, 2012 Author Share Posted October 12, 2012 Bloomendale, Worked great - many thanks for your help. Never used the Transform Axis SOP before so it was good to familiarise myself with its operation. Banks, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.