What is Physenv? the garrysmod lua wiki does not have anything on it, it says its just a stub, and i’m looking for a way to make the player fall in a specified direction for a SWEP i’m making.
physenv is for all entities but does not affect the player.
I’m pretty sure the player has a physics object, but I had a feeling physenv didn’t affect players.
Yeah, players have a physics object but are not treated the same as a non-player physics entity, like a prop_physics.
How would I change the gravity for the player then?
If this is not possible, then where should I put the self.Owner.Entity:SetVelocity() function to simulate this?