Became Idle only works once...
-
@Deeeds do you have friction?
-
@iTap-Development Yes, lots.
-
@Deeeds you could share a test project of it not working
-
@iTap-Development I could, but there's no need. You've confirmed the problem.
The rotation movement sensitivity for triggering an idle state is either too sensitive, or there's a process of halving halves in tiny decimals that's going on forever and still being considered "rotation", or both.
It's a bug.
Or a feature.
-
@Deeeds well, it working for me, just very sensitive. What you could do Is just calculate it manually.
-
@iTap-Development Or you could acknowledge it's a buggy behaviour that's not working as intended, and doesn't work in the manner the simple (non rotational) movement idling does, and expect it to get fixed by the powers that be.
-
@Deeeds It’s probably not the behaviour that’s being buggy, but the physics system being annoying, and that you think the object has stopped but it’s actually just moving REALLY REALLY REALLY slowly. If I’m right, that sucks.
-
@Aidan-Oxley Yes, I agree with you, I think the rotation part of the physics engine is reducing speeds by the factor of the air resistance, down to TINY little numbers... and this is being considered to still be movement. Either a filter is needed on rotation reduction under air resistance or a filter on the definition of idle.
-
@Deeeds Just do it manually lol. Run a timer, Get Velocity of your object, If velocity is less than something really small, say 0.01, do whatever behaviours that should act when its idle. (You may or may not need to make 2, one for x and one for y)
-
I didn’t read all of it, you’re using rotation? Alright, Get Rotational Velocity in the physics tab and do the same thing.
-
@Aidan-Oxley I've already done all that. My point is.... it is a bug, and this is the bug reporting section of the forum.