I have an FSM set up which allows me to pick up objects with a mouse pick. I based it off of the mouse pick change cursor sample.
It's working fine, except for when I approach an object with my mouse over it. If I do so, it sits at the start state without changing. I have to look away then look back at it to trigger the next event.
The start state just has the mouse pick, with stores the picked object as a variable, and it uses "game object changed" to send the next event (which compares the object's tag and allows certain ones to be picked up).
I would expect the the next event to be triggered as soon as I get within the ray cast distance as determined in the "mouse pick" action. To my logic, checking every frame would cover that (shouldn't the stored game object change once it gets in ray cast range?), but it doesn't.
So I'm not sure if everything is working as it's supposed to, or if every frame isn't doing what it should.
If everything is working as intended, I could use some help figuring out how to fix this! All I've thought of is having the start state send the event every ~1 second, which works well enough, except it slows the game down a ton.