Skip to content

Conversation

@Architector4
Copy link
Contributor

The rewrite checks all path segments from the current one to the last and finds the best one to continue from, instead of fixating on just the one. This helps in cases where feet might be yanked along the path by excessive horizontal acceleration, or when the player switches look direction while moving. Removes random stumbling too, mostly.

This doesn't perfectly fix everything ever, but it definitely makes it better I think. It's now more feasible to spam the jetpack and literally drag feet on the ground when the character's baggage is too heavy lol

Also fix Vector/Matrix division, making it the proper inverse of multiplication and applicable to a const Matrix. Figuring out why the math did not math definitely made me pull a hair or two lmao

Played a round of Bunker Breach with this patch and everything appears fine. Going over the scene wrap border break anything either.


Old behavior:

tmp.QFDPoB5KdD.mp4

New behavior:

tmp.hxQOb0nHw7.mp4

The rewrite checks all path segments from the current one to the last and finds
the best one to continue from, instead of fixating on just the one. This helps
in cases where feet might be yanked along the path by excessive horizontal
acceleration and removes quite a bunch of stumbling.

Also fix Vector/Matrix division, making it the proper inverse of multiplication
and applicable to const matrix.
Copy link
Contributor

@HeliumAnt HeliumAnt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Just some minor performance nitpicks and comment syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants