|
|
@@ -281,6 +281,7 @@ public class AttributeStatus : MonoBehaviour
|
|
|
if (!foot.haveGravity)
|
|
|
{
|
|
|
character.transform.position = new Vector3(transform.position.x, character.platformPosY, transform.position.z);
|
|
|
+ rb.useGravity = false;
|
|
|
}
|
|
|
character.ani.Play("weak", 0, 0);
|
|
|
character.bodyCollider.layer = character.gameObject.layer;
|