So I have a hallway that I would like to be able to send walls down. Each wall would be different.
so this situation is something like
------------------------------------------------
<-| <-|
<-| <-|
<-| <-|
------------------------------------------------
I want the walls to keep moving until they hit the end of the corridor then they will be destroyed. The player will be trying to jump/duck to avoid being pushed down the hallway.
What would be a good way to set this up? Spawn each block individually and give it a velocity and set up an event where when it touches the back wall it is destroyed? Seems like this would be a huge hassle.
Anyone have a better solution?