MADjestic Posted December 21, 2006 Share Posted December 21, 2006 Hi there, here's the illustration of a problem I've got: I'd like to create a wheel-like simulation, i.e. a wheel-like object (a tube with caps) must be able to roll and turn. To keep things simplest I've got the following set-up: angular velocity, X axis (angvelx) =50 (it makes the wheel push itself, move); angular velocity, Y axis (angvely) =50 - this is to turn left\right (to turn left constantly in this case). Thus the wheel is supposed to move along a counter-clockwise circle-like trajectory. Instead it turns left and then angvelx starts banking it and barelling along global X axis - so it never moves as supposed, - as if angvelx was applied in global coordinate system. Is there a way to make angvelx be a applied in localobject coordinate system so that it could move like a barrel around a circus arena? see the attachment for a simple illustration: wheel_problem.rar EDIT: I've changed the setup a bit to illustrate the issue clearly. Quote Link to comment Share on other sites More sharing options...
Val Posted December 21, 2006 Share Posted December 21, 2006 hey MADjestic. I can not extract RAR file.. but I think problem is here : <<this is to turn left\right (to turn left constantly>> Velosity and AngVelosity on RBDobj_node are just "initial state" -- just for first frame.. -on creation (initial state) Quote Link to comment Share on other sites More sharing options...
MADjestic Posted December 22, 2006 Author Share Posted December 22, 2006 hey MADjestic.I can not extract RAR file.. Oh, bugger! And nobody had mentioned that! =) Thanks, Val. Now I have re archived and re uploaded the file. (see above post) hey MADjestic.I can not extract RAR file.. but I think problem is here : <<this is to turn left\right (to turn left constantly>> Velosity and AngVelosity on RBDobj_node are just "initial state" -- just for first frame.. -on creation (initial state) This works a little bit differently - RBDState is used to modify the angular velocity (set to 'Set Always'). Quote Link to comment Share on other sites More sharing options...
sho Posted December 22, 2006 Share Posted December 22, 2006 How about creating angular velocity using previous velocity? It's a little messy though... wheel_problem_sho.hipnc.zip Quote Link to comment Share on other sites More sharing options...
MADjestic Posted December 22, 2006 Author Share Posted December 22, 2006 How about creating angular velocity using previous velocity?It's a little messy though... Ouch, Sho! that's hot! Looks like a bit of voodoo magic though Checking the code right now Thanks. Maybe somebody else can come up with a less sophisticated solution? EDIT: no magic, everything looks pretty self explanatory (not something you are used to in an application XYZ though) 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.