#How to make a camera pan in a cut scene

1 messages · Page 1 of 1 (latest)

cloud plinth
#

I had an idea for it but.. Just wanted some other peoples opinions on it.
I thought you take the start position
the end position
and then calculate the in-between and just add (If end is positive) and in sense subtract if the end is negative.

Have any of you had a similar idea :D

knotty totem
#

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'

cloud plinth
#

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

open sedge
#

probably just teleport the player a bunch of times?

#

I cant think of any other way

knotty totem
#

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

cloud plinth
knotty totem
#
  1. teleport player to start position

  2. set a local variable _v to a vector from the start position to the end

  3. set vector length of _v to 0.1

  4. in a loop 10 times, set velocity of player to _v, and wait a tick

  5. make sure the player can't move during the cutscene

cloud plinth
#

thats.. simple enough! :D
yeah I'll go try that!!
thanks for the help

knotty totem
#

np

cloud plinth
#

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

knotty totem
#

Wait you're doing this in survival?

#

If you tp, the cutscene won't be smooth. Players will still see the falling animation for a split second