How do i get components of various actors


I have collided actors being stored in a variable. I need to know how to access that actors physics component so i can enable physics. I tried doing a cast to a specific object which worked but ill be colliding with various different objects such as crates, barrels etc and need to be able to access them all.


“How could i enable physics simulation?”

Also can i set a variable with actors to null/empty?