Update a few comments
This commit is contained in:
parent
5d1c7b9c17
commit
485c961660
@ -32,13 +32,14 @@ do
|
||||
tourState[playerColor] = {
|
||||
currentCardIndex = 1
|
||||
}
|
||||
-- Camera gets really screwy when we finalize if we don't start in ThirdPerson before attaching
|
||||
-- to the hook
|
||||
-- Camera gets really screwy when we finalize if we don't start settled in ThirdPerson at the
|
||||
-- default position before attaching to the hook. Unfortunately there are no callbacks for when
|
||||
-- the movement is done, but the 2 sec seems to handle it
|
||||
Player[playerColor].setCameraMode("ThirdPerson")
|
||||
Player[playerColor].lookAt({position={-22.265,-2.5,5.2575},pitch=64.343,yaw=90.333,distance=104.7})
|
||||
Wait.time(function()
|
||||
internal.createTourCard(playerColor)
|
||||
-- XML update takes time to load, wait for it to finish then create the hook
|
||||
-- XML update takes a few frames to load, wait for it to finish then create the hook
|
||||
Wait.condition(
|
||||
function()
|
||||
internal.createCameraHook(playerColor)
|
||||
|
Loading…
x
Reference in New Issue
Block a user