Question

How do you exactly get something to move to a certain place? Here’s an example. Using chess. If we wanted to move the queen, and everyspace is open around her. Say you wanted her to go forward three spaces. How do you get it so that she stops, and doesn’t keep going?

You can use a LerpPosInterval for something like that. You would need to know the center of the squares you are moving from and to (startPos and endPos). The piece would move from the start point to the end point in a given duration of time. There is an example of intervals in your samples directory. Also, intervals can be found in the manual:

http://panda3d.org/manual/index.php/Lerp_Intervals

Okay thanks. I’ll see what I can do.