dotween icon indicating copy to clipboard operation
dotween copied to clipboard

Dotween Rigidbody2d.DoJump went pass collider on X axis

Open harisenin opened this issue 4 years ago • 1 comments

I am using Unity 2019.4.31.f1 and DoTween Pro 1.0.310.

When I use DoJump on rigidbody 2D, the X axis movement will go pass the collider, while the Y axis movement hit the collider just fine.

The code I used :

    private void Jump()
    {
        if (CLICK_JUMP())
        {
            tempV2 = transform.position;
            tempV2.x -= 100;// I tried deleting one of them to test the axis movement
            tempV2.y += 100;// I tried deleting one of them to test the axis movement

            rb.DOJump(tempV2, 1, 1, 1f, false);
        }
    }

wether it update, lateupdate, fixedupdate, the X axis movement will pass through the collider.

harisenin avatar Nov 08 '21 02:11 harisenin

The same problem. Dojump just ignore the collider

hieuhsssws avatar Feb 02 '23 04:02 hieuhsssws