Deborah R. Fowler



back

Shooting Ball

Updated on March 2   2013


In Houdini, here are a couple of ways to fire a ball from one point, fly into the air, and have it land in at a given point. These are both available in the hip file here.

The first method is to use a ray sop and a user defined curve. The arc of the ball depends on the initial velocity.
The second method is a simplified mathematical relationship described here.

Ray sop and user defined curve



The node network appears as follows:



The ray sop allows you to sample the curve in a similar way to a path follow, however you are now progressing in x in equal increments (such as $FF). For example, the expressions in the transform node are:



The ray sop settings are as follows: