hiii everyone i am developing a code in which the there is one robot & we need to move it towards a target in 3 diff moves....the project may extend to multiple robots were each robot ahve a style of walking(either ...acros length, or breadth or diagonal....ie...plane is a rectangular form).Now i have functions for moving the robot across length & breadth...

problem is both walking across length & breadth should happen simultaneously...... some one please help me....

Simultaneously for 1 robot, or for a number of robots that are currently active/spawned? You may have to look at the use of threading or possibly doing 2 updates (one for length and one for breadth) before you render so they appear to have made those 2 moves at the same time.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.