mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 19:34:18 -04:00
*** empty log message ***
This commit is contained in:
parent
d44511975a
commit
ec787ef8d3
@ -23,10 +23,10 @@ BOAT_END = boatTrack.getIntervalEndTime('boatpath')
|
|||||||
|
|
||||||
# Make the dock lerp up so that it's up when the boat reaches the end of
|
# Make the dock lerp up so that it's up when the boat reaches the end of
|
||||||
# its mopath
|
# its mopath
|
||||||
dockLerp = LerpPosHprInterval('lerp', dock,
|
dockLerp = LerpPosHprInterval(dock, 5.0,
|
||||||
Point3(0, 0, -5),
|
Point3(0, 0, -5),
|
||||||
hpr = Vec3(0, 0, 0),
|
hpr = Vec3(0, 0, 0),
|
||||||
5.0)
|
name='dock-lerp')
|
||||||
# We need the dock's state to be defined before the lerp
|
# We need the dock's state to be defined before the lerp
|
||||||
dockPos = PosHprInterval(dock, dock.getPos(), dock.getHpr(), 1.0, 'dockpos')
|
dockPos = PosHprInterval(dock, dock.getPos(), dock.getHpr(), 1.0, 'dockpos')
|
||||||
dockUpTime = BOAT_END - dockLerp.getDuration()
|
dockUpTime = BOAT_END - dockLerp.getDuration()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user