TrailMesh - always starts from 0:0:0 (with PG example)

This artifact occurs because the world matrix of the sphere is not up to date the first time TrailMesh is doing its job.

You have to do:

sphere.computeWorldMatrix();

https://playground.babylonjs.com/#51I1DD#1

2 Likes