• Getting Entities PhysObject/Velocity On The Client?
    2 replies, posted
I have an entity with a valid physobject, and I am trying to get the velocity of this entity from the client. However, trying to get the physobject returns nil on the client. I assume the client must be sent the velocity of entities from the server for interpolation, so how can I get this value? I know I could just network the value from the server but this seems inefficient, considering I need the velocity every frame.
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/GetVelocity]Entity:GetVelocity[/url]
Oh wow, that was simple.
Sorry, you need to Log In to post a reply to this thread.