Announcement

Collapse
No announcement yet.

How to make moving platforms

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to make moving platforms

    I've been searching the forums for hours, and can't find anything to help me with this. I'm working on a Frogger-style game and trying to make platforms move across the screen from left to right for the character to jump onto to cross to the other side. I'm very new to Unreal, and coding in general, and was hoping someone could point me in the right direction to figure out how to do this.

    #2
    Originally posted by TheSspeeder View Post
    I've been searching the forums for hours, and can't find anything to help me with this. I'm working on a Frogger-style game and trying to make platforms move across the screen from left to right for the character to jump onto to cross to the other side. I'm very new to Unreal, and coding in general, and was hoping someone could point me in the right direction to figure out how to do this.
    Make sure the platform's are blueprinted. Add a static mesh component and set it to the moving platform mesh. Now in the blueprint just use a "Move Component To" Node and set it up to the location you want to go. Connect that to the event begin play in the blueprint.

    To return just do the same thing but with the location of where you want it to return.
    Checkout Project "TwinBlaster" my current game in progress.
    [FREE] - 2D ROPE! Find out more here!
    Forgive my username... It's an old game name and wrote it down as a habit.

    Comment

    Working...
    X