PC is stopped when walking along inclined wall or swimming along bank
On scrawl repo
Author: scrawl <firstname.lastname@example.org>
Date: Tue Aug 12 17:07:15 2014 +0200
Improve performance of moving spell window (don't recreate widgets unnecessarily)
See attached screenshots, it'll much clearer than just text explanations...
In Vivec, when walking up the sloping hallways, along the wall and aiming slightly INSIDE the wall, the PC is stopped when touching the wall instead of sliding against.
When walking down in the same hallway, still aiming slightly inside the wall, the PC slides along the wall but not smoothly.
When swimming along a bank sloping enough so the PC can't walk up it, and when aiming slightly inside the bank, the PC is stopped when it touches the bank rather than sliding along it.
#6 Updated by scrawl . about 3 years ago
- Status changed from New to Confirmed
I've compared our movement controller with a more fully fledged one (btKinematicCharacterController) and the solution used there seems good. In a nutshell, the iteration loop should be done within the step function so that stepping and sliding is possible at the same time.