Jitter when CharacterVirtual is standing on a diagonally downwards moving platform
Author: Ono-SendaiCreated Feb 16, 2025Updated Mar 3, 2025
Hi Jorrit, there's an issue when a CharacterVirtual is standing on a platform that is moving downwards but also sideways. See the following video:
https://github.com/user-attachments/assets/09d93b68-c998-4552-b910-fdf03bc35207
Note that everything works fine as the platform moves up, but when moving down the avatar jitters sideways relative to the ground.
Patch to repro is to change line 630 of Samples\Tests\Character\CharacterBaseTest.cpp to
mBodyInterface->MoveKinematic(mReversingVerticallyMovingBody, pos + Vec3(0, mReversingVerticallyMovingVelocity * 1.0f * inParams.mDeltaTime, mReversingVerticallyMovingVelocity * inParams.mDeltaTime), cReversingVerticallyMovingOrientation, inParams.mDeltaTime);
Cheers, Nick
Source: jrouwe/JoltPhysics