Rolling cylinder?

Hey guys,

I am working on a Physics simulation, and I was wondering the following things:

  1. if there is a way to roll a cylinder down a ramp.
  2. Is there a way to fill the cylinder beforehand and not by dropping a fluid droplet in it.
  3. if I am to fill the cylinder with some liquid, will the liquid start turning and rotating as the cylinder rolls?

I am a noob in Blender, and 3d stufs, so any help will be appreciated.

Sorry if i am in the wrong section.

Thanks

Well, for what understand by “noob”, i think you havnt meet the Blender gamengine yet.
Im quite sure i can help you with your 1st question about the rolling cilinder.

Start modeling the ramp and the cilinder. Now press P key: that will make the colors on the screen look strange, and thats because you have entered the phisics mode, where object behave emulating phisical world (but you havn’t made these arrangements yet, thats why the ramp and the cylinder just remain there, still).

Switch back to normal mode (Esc key) so to start defining the physical aspect of the cylindes. Select the cylinder and sitch to Logic panel (by clicking the little purple packman-like icon or pressing F4);
in the logic panel (and with the cylinder selected) pay atention to the left most part of it, those purple buttons, leftmost one reads “static”, referring to the cilinder as a static element. Sitch it to “dynamic”, that will assign phisical propertys such as mass and weight to the the cilinder.

Now press P and youĺl see that the cilynder falls down, victim of “gravity”.

Then go back to normal mode (Esc) and move your cilinder directly above the ramp. P again to see it (the cyl) fall down and bumb against the ramp, then roll down along it.

The gamengine is a HUGE tool,a world by itself, and o think you can make those others thing about fluids you mentioned above, just get documentation about it.

What grotesque said, except, make it a ridged body, not dynamic, that way it rolls. Also, water is not supported in the GE, but you can record game physics to ipos. Then run the water sim later. I attached a .blend showing what grotesque and I mean.

I already have record to ipo selected but just in case, here’s how to do it. Top bar > Game > Record to ipo.

Attachments

Physics.blend (153 KB)