Bouncing ball with line tracing by channel

Hi,

I tried to made a bouncing ball with “Line Trace By Channel” but it doesn’t work. Does anyone know what I did wrong there. The ball should squash and stretch (scaling/animations).

Screenshot2

hi,
it´s not clear where the arrows start, but it would be best if you cast from the center of the ball and subtract the radius, otherwise if the ball get squashed the linetrace will be intersecting the wall…

i will replicate this in an hours or so… it´s :bath: time here :smiley:

later :vulcan_salute:

1 Like

hi,
here is what i came up with :smiley:
you can change it for a timeline if you prefer

variables (change only the public ones, others are for computing)

event graph

traces


and the functions


and here is the result

hope this helps :slight_smile:

cheers :vulcan_salute:

2 Likes

it is absolutely perfect. Thank you for your support! :slightly_smiling_face:

1 Like

no problem :slight_smile:

1 Like