Update curve points

I’m trying to attach curve points to animated objects:
https://playground.babylonjs.com/#VJDA3T#5

It seems like an easy problem, but I can’t get it to work. Does anyone has tips?

I found the ‘update’ function for 3Dpaths. This seams to be a solution but I couldn’t get it to work:

You can make the curve again in the loop, and update the lines mesh:

https://playground.babylonjs.com/#VJDA3T#6

2 Likes