ChaosMover Pawn On a MovingPlatform will swipe.
I commented out this line of code, and the behavior seems to be correct. Does this pose any potential problems?
void UChaosWalkingMode::GenerateMove_Implementation(const FMoverTickStartData& StartState, const FMoverTimeStep& TimeStep, FProposedMove& OutProposedMove) const
{
//...
UMoverBlackboard* SimBlackboard = Simulation->GetBlackboard_Mutable();
FFloorCheckResult LastFloorResult;
FVector MovementNormal;
FVector LocalGroundVelocity = FVector::ZeroVector;
if (SimBlackboard && SimBlackboard->TryGet(CommonBlackboard::LastFloorResult, LastFloorResult) && LastFloorResult.IsWalkableFloor())
{
MovementNormal = LastFloorResult.HitResult.ImpactNormal;
/***Here I commented out this line
LocalGroundVelocity = UChaosGroundMovementUtils::ComputeLocalGroundVelocity_Internal(StartingSyncState->GetLocation_WorldSpace(), LastFloorResult);
*/
}
else
{
MovementNormal = UpDirection;
}
//...