Hello everyone.I'm trying to make a game, it's a kind of a Vampire Survivor like, I wanted to create a rotating cursor around the player that follow the mouse to help at aiming some weapon
but it's not going well.
I succeed making the cursor rotating around it, following the "Rotate around a point" behavior and I succeed making it facing the mouse but, it constantly moving around without stoping where the mouse is.
There must be a misscalculation from me
I tried with an "if" to stop it from rotating but it didn't work
.
Here is the code(
some attribute have non-english word like persoX that mean characterX or distanceSouris that mean distanceMouse):