Reply To: How to add coroutine?

FlowCanvas Forums Support How to add coroutine? Reply To: How to add coroutine?

#441
rixter757
Participant

Nuv,

OK I see what’s happening here.

The key is Stopping Distance. As a test I was attempting to move all objects to one fixed position. So the 1st got there, called the 2nd, then 1 & 2 fight to occupy the one space, and so neither could reach their destination… meaning the 3rd object couldn’t even start. Add in some stopping distance, they each move in turn.

Now I need to understand another key here. You are using SetDestination instead of Move. SetDestination has to transition, whereas if you need to move something directly to target without animation, Move is needed. I thought maybe using SetDestination with a speed of 0 might be the same, but it doesn’t appear that way…