ProjectileInterval

Inheritance:

Methods of ProjectileInterval:

Methods of Interval:

Methods of DirectObject:

__calcPos
def __calcPos(self, t)

Undocumented function.

__calcTrajectory
def __calcTrajectory(self, startPos=None, endPos=None, duration=None, startVel=None, endZ=None, wayPoint=None, timeToWayPoint=None, gravityMult=None)

Undocumented function.

__init__
def __init__(self, node, startPos=None, endPos=None, duration=None, startVel=None, endZ=None, wayPoint=None, timeToWayPoint=None, gravityMult=None, name=None)

You may specify several different sets of input parameters. (If startPos is not provided, it will be obtained from the node's position at the time that the interval is first started. Note that in this case you must provide a duration of some kind.)
go from startPos to endPos in duration seconds startPos, endPos, duration given a starting velocity, go for a specific time period startPos, startVel, duration given a starting velocity, go until you hit a given Z plane startPos, startVel, endZ pass through wayPoint at time 'timeToWayPoint'. Go until you hit a given Z plane startPos, wayPoint, timeToWayPoint, endZ
You may alter gravity by providing a multiplier in 'gravityMult'. '2.' will make gravity twice as strong, '.5' half as strong. '-1.' will reverse gravity

__initialize
def __initialize(self)

Undocumented function.

privInitialize
def privInitialize(self, t)

Undocumented function.

privInstant
def privInstant(self)

Undocumented function.

privStep
def privStep(self, t)

Undocumented function.

__init__
def __init__(self, name, duration, openEnded=1)

Undocumented function.

__playTask
def __playTask(self, task)

Undocumented function.

__removeTask
def __removeTask(self)

Undocumented function.

__repr__
def __repr__(self, indent=0)

Undocumented function.

__spawnTask
def __spawnTask(self)

Undocumented function.

clearToInitial
def clearToInitial(self)

Undocumented function.

finish
def finish(self)

Undocumented function.

getDoneEvent
def getDoneEvent(self)

Undocumented function.

getDuration
def getDuration(self)

Undocumented function.

getLoop
def getLoop(self)

Undocumented function.

getName
def getName(self)

Undocumented function.

getOpenEnded
def getOpenEnded(self)

Undocumented function.

getState
def getState(self)

Undocumented function.

getT
def getT(self)

Undocumented function.

intervalDone
def intervalDone(self)

Undocumented function.

isPlaying
def isPlaying(self)

Undocumented function.

isStopped
def isStopped(self)

Undocumented function.

loop
def loop(self, startT=0.0, endT=-1.0, playRate=1.0)

Undocumented function.

pause
def pause(self)

Undocumented function.

popupControls
def popupControls(self, tl=None)

Popup control panel for interval.

privDoEvent
def privDoEvent(self, t, event)

Undocumented function.

privFinalize
def privFinalize(self)

Undocumented function.

privInitialize
def privInitialize(self, t)

Undocumented function.

privInstant
def privInstant(self)

Undocumented function.

privInterrupt
def privInterrupt(self)

Undocumented function.

privPostEvent
def privPostEvent(self)

Undocumented function.

privReverseFinalize
def privReverseFinalize(self)

Undocumented function.

privReverseInitialize
def privReverseInitialize(self, t)

Undocumented function.

privReverseInstant
def privReverseInstant(self)

Undocumented function.

privStep
def privStep(self, t)

Undocumented function.

resume
def resume(self, startT=None)

Undocumented function.

resumeUntil
def resumeUntil(self, endT)

Undocumented function.

setDoneEvent
def setDoneEvent(self, event)

Undocumented function.

setLoop
def setLoop(self, loop=1)

Undocumented function.

setT
def setT(self, t)

Undocumented function.

setupPlay
def setupPlay(self, startT, endT, playRate, doLoop)

Undocumented function.

setupResume
def setupResume(self)

Undocumented function.

start
def start(self, startT=0.0, endT=-1.0, playRate=1.0)

Undocumented function.

stepPlay
def stepPlay(self)

Undocumented function.

__init__
def __init__(self)

Undocumented function.

accept
def accept(self, event, method, extraArgs=[])

Undocumented function.

acceptOnce
def acceptOnce(self, event, method, extraArgs=[])

Undocumented function.

ignore
def ignore(self, event)

Undocumented function.

ignoreAll
def ignoreAll(self)

Undocumented function.

isAccepting
def isAccepting(self, event)

Undocumented function.

isIgnoring
def isIgnoring(self, event)

Undocumented function.