0 votes

I was playing around with GPU particles in VR realy cool. I couldn't find a way to trigger stuff from collision events. I wondered if it is currently unimplemented in the GD4 beta but was also thinking that it could be a 'no no' because of optimization issues when it comes to the goal of using the GPU for collisions and triggering CPU intensive sounds or creation of objects. Let me know if I'm right or missing something!

In my case I was shooting little balls by manually emitting particles and I wanted a sound to trigger on collision with a GPU collision box.

Godot version 4.0
in Engine by (12 points)
edited by

1 Answer

0 votes

Gpu particles use gpu instancing which is very efficient as it reduces the number of draw calls. The downside to this is the instances simply don't exist as far as the cpu is concerned. They only exist on the gpu and are pretty much for visuals only. You can simulate interaction with other object in the scene as gpu allows changing the transformations of the instances but there is no way of knowing when the interaction occurs, at least not that I know of.

by (2,017 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.