#help with 2d dash

1 messages · Page 1 of 1 (latest)

arctic sigil
#

and when you go right its ok?

#

i have a very dumb solution that might work

#

if the direction your characeter is facing is -1 (ig thats left) then divide the dash distance

#

by for example 2

#

new Vector2(myRigidbody.position.x * transform.localScale.x + (dashDistance / value), myRigidbody.position.y);

#

good luck

arctic sigil
#

does it work? @turbid canopy

arctic sigil
#

np