|
@@ -261,12 +261,12 @@ public class MoveCharacter : Character
|
|
|
else if (floatState == 3)
|
|
else if (floatState == 3)
|
|
|
{
|
|
{
|
|
|
aniCollider.Play("Fall", 0, 0);
|
|
aniCollider.Play("Fall", 0, 0);
|
|
|
- if (transform.position.y >= origY + 0.05f)
|
|
|
|
|
|
|
+ if (!isBeDropped && transform.position.y >= origY + 0.05f || isBeDropped && !foot.TrigGround)
|
|
|
{
|
|
{
|
|
|
curHeight -= curFallSpeed * Time.deltaTime;
|
|
curHeight -= curFallSpeed * Time.deltaTime;
|
|
|
transform.position = new Vector3(origPos.x, curHeight, origPos.z);
|
|
transform.position = new Vector3(origPos.x, curHeight, origPos.z);
|
|
|
}
|
|
}
|
|
|
- else if (foot.TrigGround || curHeight <= origY + 0.05f)
|
|
|
|
|
|
|
+ else if (foot.TrigGround || !isBeDropped && curHeight <= origY + 0.05f)
|
|
|
{
|
|
{
|
|
|
if (!isBeDropped)
|
|
if (!isBeDropped)
|
|
|
{
|
|
{
|