Plotting Trajectory

Hi, welcome to the forums. I think you might want to look at the LineNodePath for connecting two points to each other, here is an example:

posA=(0,0,0)
posB=(10,0,0)
gameLine= LineNodePath(render, colorVec = Vec4(0.43, 0.54, 0.99, 1))
gameLine.setThickness(2.2)
gameLine.drawLines([(posA,posB)])
gameLine.create()
gameLine.setName("bordL")

If you want to update the line at run time, you could do so using a task, with this code:

gameLine.setVertex(0,(0,0,0))
gameLine.setVertex(1,(20,0,0))

You could even use multiple points to draw whatever wire-frame shape you want, I hope it helps. You can read more on how to use it here . Play around with it, if this answers your general question, but you later have specifics, feel free to ask.