From 7b393b668b8f8f4bf640c262298fdf60078e83d6 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Wed, 15 Jan 2025 20:35:02 -0600 Subject: [PATCH] handle pathshapes comming in from above players more gracefully if you're within a pathshape as it moves, put you on top --- Engine/source/T3D/player.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Engine/source/T3D/player.cpp b/Engine/source/T3D/player.cpp index 34da962e6..76b586ce4 100644 --- a/Engine/source/T3D/player.cpp +++ b/Engine/source/T3D/player.cpp @@ -4771,6 +4771,9 @@ void Player::updateAttachment(){ Point3F(pos.x, pos.y, pos.z - 1.0f ), PathShapeObjectType, &rInfo)) { + if ((mJumpSurfaceLastContact < JumpSkipContactsMax) && !mSwimming) + setPosition(rInfo.point, getRotation()); + if( rInfo.object->getTypeMask() & PathShapeObjectType) //Ramen { if (getParent() == NULL)