Move player on platform

Discussion in 'Game Development (Technical)' started by MarianoMiguel, Jan 5, 2018.

  1. MarianoMiguel

    MarianoMiguel New Member

    Dec 22, 2017
    Likes Received:
    I was trying to move the player on a platform. But I have enough problems with the colliders. Does anyone know of any tutorial for FPS regarding the subject?
  2. Gameicreate

    Gameicreate New Member

    Mar 6, 2018
    Likes Received:
    Explain briefly
  3. tmcarey

    tmcarey New Member

    Dec 7, 2017
    Likes Received:
    The easiest way to do it is to check for a collision occurrence. Once the player collides with the platform (assuming you check that the play is actually on top of the platform), simply set the player as a child of the parent platform.
    That is, whenever the parent object moves, the player should also move the same distance and same speed. Whenever the parent object rotates, the player object should also rotate that same amount.

    The implementation really depends on the engine you're using, if any.

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer