Creating a Trackable Light to Obj/Entity

Hi,

I’m seeking guidance on how to create a trackable light that follows a specific entity/object in my scene. I’ve attached a video for reference.

Any suggestions or guidance on achieving this would be greatly appreciated. Thank you in advance!

I don’t see any light following an object in your video. If you mean that blue line, then you can create it using Mesh API. You can reference this project for how it can be done:

https://playcanvas.com/project/733569/overview/rainbow-trail-with-mesh-api

2 Likes

yeh that blue light that follow the ball shoot thanks