Use Bezier curve to create custom object move path

Use Bezier curve to create custom object move path ,create animation and play it. press [space]
playground demo

BezierCurve

Originally, I wanted to create one cameraPath plugin, like the camerapath I used in Unity3D.

I’ll share the code for creating paths using CatmullRomSpline shortly

3 Likes

This is pretty coool !!! I am noticing a tiny glitch when the object is a the tangent point, it looks like it is inverting itself but this should have a place in the doc @PirateJC ?

I’ve fixed it https://playground.babylonjs.com/#N9QD14#10

1 Like