Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
1 2 3 4 5 … 18 Next »
Reliably getting an entity's velocity clientside.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Reliably getting an entity's velocity clientside.
06-04-2026, 03:39 AM, (This post was last modified: 06-04-2026, 04:00 AM by The17thDoctor. Edited 1 time in total.)
#1
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
Reliably getting an entity's velocity clientside.
So I've been working on a starfall that requires getting an arbitrary entity's velocity no matter how this entity is being moved (whether through "natural" physics movements, drive core, parenting, etc..)

I've tried using the PhysObj:getVelocity() method, however this does not work when the entity is being moved by a drive core for instance.
I then tried to keep the last position of the entity and compare it to the current, however this produced artifacts when I tried doing that. I have theories on why but it's irrelevant to the problem.

I'm really struggling to find a way to reliably get velocity without artifacts of sorts. Is there any way that exists or that could be implemented ?

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Reliably getting an entity's velocity clientside. - by The17thDoctor - 06-04-2026, 03:39 AM
RE: Reliably getting an entity's velocity clientside. - by Person8880 - 06-04-2026, 10:11 AM
RE: Reliably getting an entity's velocity clientside. - by The17thDoctor - 06-04-2026, 06:24 PM
RE: Reliably getting an entity's velocity clientside. - by The17thDoctor - 06-04-2026, 06:43 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.