0 votes

For situations where you have a fire particle emitter and you want to have light produced not just at the source of the fire, but also ever-decreasing amounts of light in a trail as the heat source moves around (so you have a trail of fire that dissipates after a half-second, etc.)

https://www.facebook.com/groups/godotengine/permalink/1142300165906576/?comment_id=1142372359232690

in Engine by (186 points)

1 Answer

0 votes
Best answer

You could spawn lights after a mouse movement threshold is met and have each light die out over a short period of time. In other words, if the mouse hasn't moved don't spawn any lights, but if it has, then spawn a new light every x distance. Allows you have to a couple of lights dynamically created/killed as the heat source moves around.

by (186 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.