mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-07 20:34:38 -04:00
19 lines
458 B
Python
Executable File
19 lines
458 B
Python
Executable File
"""Undocumented Module"""
|
|
|
|
__all__ = ['doTest']
|
|
|
|
from pandac.PandaModules import *
|
|
from direct.directbase.DirectStart import *
|
|
from IntervalGlobal import *
|
|
|
|
def doTest():
|
|
smiley = loader.loadModel('models/misc/smiley')
|
|
smiley.reparentTo(render)
|
|
|
|
pi = ProjectileInterval(smiley, startPos=Point3(0, 0, 0),
|
|
endZ = -10, wayPoint=Point3(10, 0, 0),
|
|
timeToWayPoint=3)
|
|
pi.loop()
|
|
return pi
|
|
|