So I’m creating a UAV (aerial vehicle - just a prop that can fly basically) in Garry’smod. The thing itself does not use thrusters, hoverballs, or wire. It is only welds and hydraulics and ropes and shit.
I already got it to fly forward, sideways, up and down, with yaw controlled rotation as well. (i know cool huh with only these tools?)
BUT I HAVE A PROBLEM. The setup I’ve built maintains its velocity. For instance - I hit the forward key (8). The thing begins to move forward, its acceleration jumping to +X instantly. It slowly reaches a certain velocity. Now, if I’d want to disable this forward motion and bring it to a stop, I will not be able to just tap 8 again. I’ll have to disable the forward acceleration with 8, and toggle backwards acceleration with 2. Therefore, bringing the thing to a full stop is fucking complicated and hard, especially when you’re working with X Y and Z dimensions.
I am therefore looking for a way to bring the thing to a stop. I believe this could be achieved via some prop/entity that has air resistance or friction, whatever you wana call it. We all know hoverballs - they have an air resistance slider. That’s exactly what I’m looking for, only I am limited to in-game addons and in-game tools. Is there any prop with a default air resistance setting, or a default tool in-game I could use to achieve freezing of velocities? Or some special technique, or Gmod Physics bug I can take advantage of?