How do I make something return the players velocity relative to them instead of the world?
[QUOTE=raccoon2112;20097014]How do I make something return the players velocity relative to them instead of the world?[/QUOTE]
[lua]pl:WorldToLocal(pl:GetVelocity())[/lua]
dotproduct was actually what i was looking for, thanks though
Sorry, you need to Log In to post a reply to this thread.