3

I was trying to make a car and make the axle "work" mechanically. My idea was to make an axle with a flat end and a wheel that would enclose around it like this:

enter image description here

Only, when I give these objects rigid body properties, this is what happens:

enter image description here

I've played with a lot of the settings and the result is never really functional. So this makes me wonder if I'm trying to use Blender in a way it's not intended to be used...

If making these parts is not possible, I would love to know how to animate the wheels of a vehicle in motion (but maybe that's for another question...)

MicroMachine
  • 4,611
  • 17
  • 62
  • 109
  • 2
    I don't exactly follow what you are trying to do. In the real world the axel and tire hub would be bolted together.... but I can tell you this: always apply your transformations... (Ctrl+A) otherwise the scale and rotation of your objects will adversly affect physics simulations... http://i.stack.imgur.com/vSGt5.gif –  Jul 14 '16 at 05:49
  • related: http://blender.stackexchange.com/questions/7298/why-is-it-important-to-apply-transformation-to-an-objects-data –  Jul 14 '16 at 05:53
  • 1
    If the objects are joined together then you have this: http://i.stack.imgur.com/Wc3Ql.gif –  Jul 14 '16 at 06:02
  • 2
    the proper way to rig a wheel with rigid body physics is to use a hinge constraint to hold the wheel to the axle via an empty. – Anthony Forwood Jul 14 '16 at 06:19
  • @AnthonyForwood is there a link somewhere? Maybe another question? – MicroMachine Jul 14 '16 at 15:01
  • @cegaton : trying to make the wheel move but not the axle (attached to car) – MicroMachine Jul 14 '16 at 15:02
  • 1
    Movement will require a motor constraint on top of the hinge constraints, unless you rely on gravity alone. – Anthony Forwood Jul 14 '16 at 22:43
  • 1
    This guy has a few tutorials on rigging a car using rigid body physics in the BGE. He uses some python scripting, but other than that, the only drawback is that it's for the BGE only. Rigid body physics are a little different (more complex) outside of the game engine.

    https://www.youtube.com/watch?v=J5gNwGp8Zz0

    – Anthony Forwood Jul 14 '16 at 23:09
  • @AnthonyForwood ok thanks! I'd rather use Cycles. I'll look for a similar question and try both... Using gravity could be fun though... – MicroMachine Jul 14 '16 at 23:39
  • Cycles is the same as Blender Render, as far as physics go. – Anthony Forwood Jul 15 '16 at 03:01
  • @AnthonyForwood ok. I meant I'd rather use Cycles than the BGE. – MicroMachine Jul 15 '16 at 03:49
  • I can walk you through this if you want to go to chat. I'm online all the time. – Anthony Forwood Jul 15 '16 at 22:22

1 Answers1

1

Select the axle, then the wheel, and press Control+J to join them into one object. Now the axle and wheel will move together.

krypticbit
  • 726
  • 5
  • 20