1
$\begingroup$

I want to set up an animation of a rolling cube for a video game. The cube needs to roll/tumble to all its sides.

When I add bones to the cube, only the parent bone seems to make the whole cube rotate (obviously) but when I rotate the next 'child' bone, the parent bones stays put...

How can I connect all the bones with each other (like my skeleton is one stiff bunch of bones) in order to make the whole cube rotate when I rotate a child bone?

$\endgroup$
0
$\begingroup$

This is just what you need! This is a Wolfram Alpha widget that showe you the cylogons (roulletes on n-gons about a straight line). The square is a default option:

http://demonstrations.wolfram.com/TracingACyclogonRouletteOfAPolygonRollingAlongALine/

EDIT: I made a canned animation of this rolling motion here, maybe you can use it:

http://pasteall.org/blend/index.php?id=51926

$\endgroup$
  • $\begingroup$ Wow. The cylogon is completely new to me so i will dive in and have a look. But it looks very promising! Thank you for adding an example too. The irony is that actually I need to make a box rolling that isn't completely square. But this still puts me on the right track. Thank you very very much for you help. $\endgroup$ – ngerbens Jun 17 '19 at 6:55
  • $\begingroup$ NP, one of those links in the other commenters has a link to a really phenomenal instructional for rigging the cube using drivers though, just adjust the angles and offsets a little if your shape has a different profile $\endgroup$ – hatinacat2000 Jun 17 '19 at 11:31
  • $\begingroup$ It's the one with the cylinder right? I'm definitely going to check that one out. The cylogon is also a complete new interesting world to me. It might even be better to use something like that directly in a game engine script. Rigged bones are probably better to export out of Blender into the game engine. Thanks again. $\endgroup$ – ngerbens Jun 17 '19 at 22:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.