Moonzel / Godot-PerfBullets

This plugin uses the MultiMeshInstance2D to render thousands of bullets easily while running the logic in C++ to run at maximum performance.
MIT License
354 stars 8 forks source link

Changing the properties of an individual bullet after time #14

Open Horikaze opened 4 months ago

Horikaze commented 4 months ago

Hey, is it possible to change the direction of an individual bullet after a given time? For example, changing Vector2 after 2s exa

savakujundzic commented 4 months ago

What about just adding a spawner there, and after 2s you stop the original spawner and run the second spawner that has bullets in that direction?

Horikaze commented 3 months ago

Yes, this is one way to get around this problem, I wonder if there is another more convenient way. For example, a script in BulletType that changes the behavior of the bullet.