Creating dynamic objects and simulations can be some real fun. What if you needed the dynamic objects to hit a target? Dynamics are not truly random, but doing something as specific as getting a ball through a hoop could prove challenging just by trial and error.

Here, 3D Generalist, Florian Thamer shows how to do just that. It is really a class on calculating trajectories in Cinema 4D using Xpresso. Florian also uses python scripting to calculate an equations that would be too taxing for Xpresso to chew through.

While on the topic of passing some tasks with Python, Florian walks through creating a Python Node that will allow you to access specific objects within a hierachy.

If you have any inclination to script in C4D to any capacity, this is a great watch.

This this tutorial we are calculating trajectories in XPresso.
I’m using Python Script to calculate an equation that would be rather complex if it would be done with XPresso Nodes only.
I’m also showing you how to create a Python Node that let’s you access a certain Object inside a Hierarchy.
I know, XPresso and Scripting tutorials are quite boring, but stay with me on this one, you maybe pick up a thing or two that you can need in one of your future projects.

How to Create an Xpresso Setup that lets you shoot Objects onto a target