nicholas-maltbie / PropHunt

PropHunt game attempt using Unity and the Data Oriented Technology Stack
MIT License
11 stars 0 forks source link

Vertically Moving Platform and Floor Jitter #94

Closed nicholas-maltbie closed 4 years ago

nicholas-maltbie commented 4 years ago

There is a bit of jitter when following the floor with a KCC. This needs to be corrected in the future but not certain how to overcome this difficulty.

nicholas-maltbie commented 4 years ago

Solution seems to be to just giving the player a wider room for error when standing on vertically moving platforms, horizontally moving platforms do not seem to cause an issue.

As far as jittery platforms, this is caused by server lag and can be alleviated by doing a few things. The first would be to make the movement buffer have a smoothing window of a few frames (or ticks) so that the movement doesn't snap the character.