#How to make a camera pan in a cut scene
1 messages · Page 1 of 1 (latest)
The idea you suggested for it is not really 'how to make cutscene', it's more 'how to make the camera pan in a cutscene'
Ah thats actually better wording XD
How to make a camera pan animation
Das better :]
How to make a camera pan in a cut scene
if your "panning" just has a start and end position, you can get a vector from the start to the end and push the player along the vector in a while loop
Hmm it's probably the most simple..
in pseudo probably something along the lines of that :O
ok good
-
teleport player to start position
-
set a local variable _v to a vector from the start position to the end
-
set vector length of _v to 0.1
-
in a loop 10 times, set velocity of player to _v, and wait a tick
-
make sure the player can't move during the cutscene
thats.. simple enough! :D
yeah I'll go try that!!
thanks for the help
np
I've also just realised..
Not sure if teleporting would be better off but
loop {firstcutscenemovementdistance} * 5 times:
wait 1 tick
push all players direction from player to {firstcutscenepoint} at speed 0.01
you can also do that
wtf pff... guess the tabs got copied too xD
ah that pushes them along the floor never-mind!!
I thought it was more of a move entity in direction ignoring gravity pff guess tp is the only way