Toggle Physics by object?

Hi - Is it possible to toggle physics on and off for an object? To give you context, i’m spawning 100 blocks and dropping them - using ‘Move Component to’ in to a 3x3x10 grid - Then I want to blow them up using physics. If I drop them into position using physics it looks nice but ends up messy. If I use ‘move component to’, I can’t then blow them up because physics is disabled.

So really, what I want is a toggle for Simulate Physics. Is this possible?

Thinking about it, if I could toggle disabling the whole physics engine this would be ok too.

Dan.

maybe you can use teleport actor and set physics to not wake at spawn. for me it’s usually a bad idea to move component, better move the entire actor instead.

There is a node for Set Physics Enabled, you should be able to use that.

I’m not in front of it but isn’t that collision rather than physics?

You may be right, not sure. But if so, if you turn that and gravity off at the same time it should do what you want.

There is a “Simulate Physics” node. You can turn it on and off.
If you stop simulating, components wont be able to move - they will hang, even mid air.
There is a problem with it however.
After turning simulate physics on again you need to apply some kind of force to the component (you can just hit / touch them with something else, or use a node) - without it the will not start moving on their own.

Thanks, this worked a treat. I don’t know why I couldn’t find this node before - i suspect I was typing physics without an h or something stupid like that.

Hello, I cannot find the “Simulate Physics” node in 4.18, do you know if they changed the name?