# “Rolling Cube Along a Path” preset and pdf tutorial available now

You can find the files HERE or in the tutorial article.

And this is an example video created with my preset.

# Rolling Cube along a path in C4D using math and Xpresso

A couple of days ago I came across this video of Maxon Training Team (channel that I recommend you follow):

This tutorial shows techniques for rolling a cube along a path using XPresso and the new Nodes system. The result is good and in certain situations it can be fine, but it is not precise, it is an approximation. I tried to look if there was a mathematical solution to the problem but in my short search I found only these other methods of solving the problem:

This is another fast and effective approach that leverages the internal physics of C4D.

Here, on the other hand, a solution is offered to obtain a mathematically precise rolling, but it would probably be difficult, to deny me if I am wrong, to adapt it to make the cube follow a path other than the straight line.

So I thought I’d solve the problem mathematically so that the cube can follow a path along a spline. But first I want to show you a short example video where I used my own preset.

# Two minutes setup with C4D and Redshift

After a few months without a free time for Cinema 4D, today I wanted to give me a gift with this simple render.

# 3D Tracking and Realmagazine

This is the Realmagazine preset for Cinema 4D used in my first 3D tracking test.

Rendered using Redshift.

# How to use Realbook with Octane render

Thanks to Maarten Vissen for this useful video.

# Crash Test…

Just to play with Cinema 4D and the content browser. I used the physical render with an hdr image taken from hdriheaven (piazza San Marco).