Hello everybody.
I've got some problems using mouse pick.
I am trying to do a click to move fsm,
I have an input state, with GetMouseButtonDown and MousePick which stores the data in a global targetDestination vector3 variable.
Then I am using iTween Move To, to move my character to targetDestination.
For a small area it works fine, but if I click on a building or far away, it bugs and my character starts to fly :/
Any idea how to fix this?