direct.directutil.Mopath

from direct.directutil.Mopath import Mopath

Inheritance diagram

Inheritance diagram of direct.directutil.Mopath

class Mopath(name=None, fluid=1, objectToLoad=None, upVectorNodePath=None, reverseUpVector=False)[source]

Bases: DirectObject

__init__(self, name=None, fluid=1, objectToLoad=None, upVectorNodePath=None, reverseUpVector=False)[source]
calcTime(self, tIn)[source]
draw(self, subdiv=1000)[source]

Draws a quick and cheesy visualization of the Mopath using LineSegs. Returns the NodePath representing the drawing.

getFinalState(self)[source]
getMaxT(self)[source]
goTo(self, node, time)[source]
loadFile(self, filename, fReset=1)[source]
loadNodePath(self, nodePath, fReset=1)[source]
nameIndex = 1
play(self, node, time=0.0, loop=0)[source]
reset(self)[source]
stop(self)[source]