mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #1512 from Azaezel/alpha41/stepAlongNow
add grace hieght for pathshape snapping eval
This commit is contained in:
commit
c138d838bb
|
|
@ -4763,8 +4763,11 @@ void Player::updateAttachment()
|
|||
Point3F(pos.x, pos.y, pos.z - 1.0f ),
|
||||
sCollisionMoveMask, &rInfo))
|
||||
{
|
||||
Point3F setPos = rInfo.point;
|
||||
setPos.z = mMax(setPos.z+sMinFaceDistance, pos.z);
|
||||
|
||||
if ((mJumpSurfaceLastContact < JumpSkipContactsMax) && !mSwimming)
|
||||
setPosition(rInfo.point, getRotation());
|
||||
setPosition(setPos, getRotation());
|
||||
|
||||
if( rInfo.object->getTypeMask() & PathShapeObjectType) //Ramen
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue