Reset force of a player when dropping them with the physgun
2 replies, posted
When the player picked up with physgun was falling in a specific direction upon dropping them, they would still have the same velocity.
I can't get a proper, not hacky way to fix this behaviour.
Any help appreciated.
Setting them to noclip and freezing them in GM/PhysgunPickup accomplishes this. Just make sure to revert it in GM/PhysgunDrop
-- PhysgunPickup
ent:SetMoveType(MOVETYPE_NOCLIP)
ent:Freeze(true)
-- PhysgunDrop
ent:SetMoveType(MOVETYPE_WALK)
ent:Freeze(false)
I could have figured that out, already.
Thanks...
Sorry, you need to Log In to post a reply to this thread.