Wake all Physics for all Static Mesh Actors

Hi Fellow Developers and Programmers!

I thought it would be easy to create a “Get All Actors of Class” Array and then create a “Wake all Rigid Bodies” and be done but there is no way to attach those 2 together.

Does anyone have an idea on how to wake all Wake all Physics for all Static Mesh Actors after the level loads? If not wake then setting Physics would work also.

I am creating a sand box that you can spawn static actors with the physics set to sleep(start wake unchecked). After all actors are set you can press a button then all actors are saved and then opened in a new map where you can play. The problem is all the actors are asleep.

Thank you,
John

You have to use the get all actors of class and then wake all the actors for that class and then do the same for the next class.