mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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
|
# position; delay until the interval is actually started
|
||||||
self.trajectoryArgs = args
|
self.trajectoryArgs = args
|
||||||
self.needToCalcTraj = 1
|
self.needToCalcTraj = 1
|
||||||
|
self.duration = duration
|
||||||
else:
|
else:
|
||||||
self.__calcTrajectory(*args)
|
self.__calcTrajectory(*args)
|
||||||
|
|
||||||
Interval.__init__(self, name, duration)
|
Interval.__init__(self, name, self.duration)
|
||||||
|
|
||||||
def __calcTrajectory(self, startPos = None,
|
def __calcTrajectory(self, startPos = None,
|
||||||
endPos = None, duration = None,
|
endPos = None, duration = None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user