I think it would be more elegant if the trail object extended THREE.Mesh<MeshLineGeometry, MeshLineMaterial>. This way, we could simply add the trail to any object and use that object's world position for the trail, eliminating the need to specify a separate target.
Describe the feature you'd like:
I would like
Trail
to get ported to this vanilla repository https://github.com/pmndrs/drei/blob/master/src/core/Trail.tsxSuggested implementation:
I think it would be more elegant if the trail object extended
THREE.Mesh<MeshLineGeometry, MeshLineMaterial>
. This way, we could simply add the trail to any object and use that object's world position for the trail, eliminating the need to specify a separatetarget
.