mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
fixed bug in endZ case
This commit is contained in:
parent
b49f3d4b51
commit
ca6e9716d8
@ -65,10 +65,11 @@ class ProjectileInterval(Interval):
|
||||
# position; delay until the interval is actually started
|
||||
self.trajectoryArgs = args
|
||||
self.needToCalcTraj = 1
|
||||
self.duration = duration
|
||||
else:
|
||||
self.__calcTrajectory(*args)
|
||||
|
||||
Interval.__init__(self, name, duration)
|
||||
Interval.__init__(self, name, self.duration)
|
||||
|
||||
def __calcTrajectory(self, startPos = None,
|
||||
endPos = None, duration = None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user