Jump to content

Inventing A Wheel


MADjestic

Recommended Posts

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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').

Link to comment
Share on other sites

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 :lol: Checking the code right now :ph34r:

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)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...