((posted on r/forge too: https://www.reddit.com/r/forge/comments/5974ki/semifixed_object_physics_tutorial/))
I discovered something really interesting yesterday and I wanted to share it with everyone in the forge community. I have no idea if it's been discovered before, but I can't seem to find anything through youtube and google searches.
~ANYWAY~
Here's a quick text-tutorial on how to do this. Relevant game-capture of it: http://xboxdvr.com/gamer/fythicc/video/22768549
Do you remember those floating [platforms in epitaph in halo 3](https://www.youtube.com/watch?v=UOOlYdGkJXk Remember how they move depending on how you walk on it or apply force on it? You can make those in H5 forge with two simple scripts on an object/group. I'm going to call it "Semi-fixed" object physics, because it stays in place but can still be moved around. There's only one current downside to this, and it is that scripting can sometimes break on objects, so it can randomly stop working at times. Let's hope the next update fixes that. Let's get right to the procedure.
Also, here's a quick game capture of me actually creating it, to supplement the written procedure: http://xboxdvr.com/gamer/fythicc/video/22769106
1. Place an object that is capable of normal physics (welded groups work too!) and put it in the resting position you want it to be in.
2. Set it to normal physics.
3. Add two scripts to it.
3a. --> Script 1;
On timer:
Initial Delay: 0.0s;
Repeat time: 0.2s;
Action:
Position/Rotation Reset:
Velocity Reset: On ((IT DEFAULTS TO ON, BUT IT ISNT ACTUALLY ON. FLICK ON THEN OFF);
Time: <Your own time here> (the lower the time, the faster it will come back to default position. Do not test with anything lower than 1 second, it may glitch out);
3b. --> Script 2;
SAME AS SCRIPT 1. EXACT SAME. CHANGE INITIAL DELAY TO 0.1s;
4. After finished that, set the object physics to normal, then drop the object, and it will fall for about a tenth of a second, then float back into position and stay there.
P.S. It's glitchy and breaks due to the script breaking from the update.
And Voila! That's it, that's how you can get semi fixed physics on your object. It barely moves from explosions and generally any entity that tends to do damage. Player movement, vehicle movement, and object movement can move these semi fixed pieces quite nicely.
edit: bolded text, stability is increased with this change.