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__(name=None, fluid=1, objectToLoad=None, upVectorNodePath=None, reverseUpVector=False)[source]
calcTime(tIn)[source]
draw(subdiv=1000)[source]

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

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