So, I’ve been working on a way to teleport entities in a map. Unfortunately, the act of teleporting tends to break anything with a constraint on it. The simplest solution would be to freeze every prop in the volume before doing the jump. I’ve tried several things, and I’m now up to a simple lua script to try to freeze the enclosed entities.
There’s a problem with this though. It doesn’t work on vehicles or wiremod parts. The problem is definitely not in the map entity logic, as I’ve tested this with debugging outputs. The vehicles and wiremod parts are definitely being passed to the script. Now, I’ve seen an addon (Nodex’ ECS) that is able to freeze vehicles and wiremod parts, so I know that it can be done in lua.
Basically, how do i freeze things (physics gun style) that aren’t straight physics props?