The goal of this sample is to show an implementation of the "Physics Gun" behavior from Half-Life 2 / Garry's Mod / GMod. Video about the creation of this repo, thoughts and reasons behind can be seen here. Get started "PhysicsGunInteractionBehavior.cs"is the script you are looking for...
Spawn a board to use as a chassis. Any reasonably large, flat object from the spawned objects menu will do; a door is a good choice. Position the chassis horizontally in the air and fix it several feet above the ground with the physics gun. Attach four wheels to the corners of the ch...
Instead, it must be called in advance when the condition is known to change. --- ⚠ **WARNING**: Failure to use this function correctly will result in a crash of the physics engine. function GEntity:CollisionRulesChanged() end --- Creates a clientside particle system attached to the ...
the physics gun to carry on with the game in order to operate objects. Every gun has its own job. You can use the tool gun for merging diverse props through rope as well as generating handy wheels. As far the physics tool, you can use it for lifting, setting and freezing the objects...
Instantly create your own GMod server at Shockbyte! Play DarkRP, TTT, Sandbox, Prop hunt, anything you want with our easy-to-use control panel!
The Gelly Gun A tool that allows you to spawn fluids, the main entry point for spawning fluids Note Time control is not perfect, and it is not guaranteed to work as expected. Itcanchange the results of the simulation, such as things like Gell-O just falling and not holding its shape....