How can I detect gpu particle collisions in Godot 4?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JJones19

How can I detect when gpu particles collide with a GPUparticlesCollisionHeightField3D?

For instance, I’d like to:
-Count how many particles have collided with the heightfield
-Measure the net momentum that was transferred to the heightfield
-Detect where the particle hit the heightfield

Are there any properties I could use in a script that would accomplish this in Godot 4?