Search Unity

Riding a flying Object

Discussion in 'Scripting' started by aman_6700, Jul 4, 2018.

  1. aman_6700

    aman_6700

    Joined:
    Jun 30, 2018
    Posts:
    4
    Hello I'm a beginner for Unity and I'm looking for some help.
    I would like to know how to create a script so that the player can get on to a game object (such as standing on a skateboard), fly around on it in the air and then get off? The player should be fully visible standing on it with animations playing for their upper body.

    I've included an image of what its supposed to look like.
     

    Attached Files:

  2. Ian094

    Ian094

    Joined:
    Jun 20, 2013
    Posts:
    1,548
    Making the player a child of the platform would work.
     
  3. alexeu

    alexeu

    Joined:
    Jan 24, 2016
    Posts:
    257