Can I enable/Disable gravity for physics objects using a BP?
I want to have a box volume blueprint where everything inside the volume when an event is triggered loses gravity. I don't want to make all the objects blueprints, I just want to have physics meshes laying around. Is this possible and what nodes do I use?
asked Feb 24 '19 at 06:40 PM in Blueprint Scripting
When your anti-gravity trigger happens do a GetAllOverlappingActors on your volume, in the for each set gravity disabled.
When gravity turns back on do the same but set it on.
Don't forget to handle objects leaving the box with EndOverlap
answered Feb 24 '19 at 11:19 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here