Many games today use a blend of animations and physics to create realistic movement. For animated characters, this revolves around balance. It could take the shape of a runner who leans inwards through a curve to counter the centrifugal force. Creating a system like this is not easy and requires a lot of tweaking. In this recipe, we'll look into some of the fundamentals of this, and we'll create a new
Control class that will try to balance itself using the rotational motors of
Six Degrees of Freedom (SixDof) relates to the six ways the joint can rotate: +x, -x, +y, -y, +z, and -z. One way it differs from a
point2point joint is that in addition, it also has motors for each axis, which ...