drei-vanilla icon indicating copy to clipboard operation
drei-vanilla copied to clipboard

Trail implementation

Open nyan-left opened this issue 7 months ago • 0 comments

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.tsx

Suggested 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 separate target.

nyan-left avatar Jul 16 '24 08:07 nyan-left