Hello everyone ,
Best Regards,
Hossam
thanks Mahmoud Elashry , Felipe Nogueira , Dan Lane 
i didn’t use A* for the path finding , i built a matrix to control the direction of the object to reach to its target in a shortest way without hitting a wall .
i think this method is similar to A* but with easy way
.
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.