Open Klizmotron opened 7 years ago
Ignored. Nice.
Look at all of the issues on this GitHub: there are a lot that can't all be handled immediately by two part-time devs.
They could "hire" more, or even add some mods that only handle the trackers if it's that much of a problem though, pretty sure there's plenty who are willing to help...
But that's going out of scope, so here's that:
prediction on the physcannon is only a minor issue, there's more important things to take care of, but yeah it can be fixed at some point for sure.
Details
As I can understand, a gravity gun has a special prediction mechanism that in theory should make entities predicted when you grab them (to avoid jiggling and backtracking), it's easy to notice if you enable vcollide_wireframe and try to grab some entity with the gravity gun. vcollide_wireframe shows serverside physics in blue color and clientside (predicted) physics objects in red color. If you move an object a bit while holding it you will notice that even though it's predicted (red) physics object is correctly predicted and moves without lag or glitching, the actual visual mesh of the entity behaves weirdly. Probably the client still draws the entity relatevely to a non-predicted physics object, even though it shouldn't, or even glitches in-between (because it not only backtracks, it also flickers in a strange way). So I want to know what this bug is caused by, first of all, to find a way around it in my projects, and it would be just wonderful if this aged issue would be finally fixed in Garry's mod.
Steps to reproduce
EDIT: By the way, the only way I found to fix this issue for my entities at the moment is the following:
But I don't like it at all, anyways, at least it works
EDIT 2: This seems to work like a universal function for recursive hierarchy fix (so that parent entities don't backtrack when their parent is held by a gravity gun)
You should apply it like this:
Though it will only work for those entities in hierarchy for which you call this function. If there is a simple prop parented to your entity or whatever it will still backtrack