Simulation

alien

Member
Joined
Mar 21, 2006
Messages
24
hey,
Iam doing some sort of simulation using visual basic.net 2003 and I need some info on how to move a rectangle on a picturebox from one position to the next on a specified path. Anybody help.
 
Cags said:
What exactly do you need help with? calculating the path, animating the move or something else?


i have never done anything on graphics so basically the problem is calculating the path and moving the object along the path. sort of like a car moving along a road.
 
Displaying the moving object is the graphics part and the easier part of the two. Calculating the path is alot more complex (in my opinion) and has nothing todo with the graphics. You are unlikely to find a satisfactory answer to either of these questions without alot more details. A* is one of the more popular path finding algorithms, a search for this on google will provide thousands of hits.
 
Back
Top