Search Unity

Parent on Collision

Discussion in 'Community Learning & Teaching' started by Dave2407, Mar 13, 2017.

  1. Dave2407

    Dave2407

    Joined:
    Mar 13, 2017
    Posts:
    6
    Hey,

    Im Fairly new to unity and im trying to create a game where you need to jump from car to car simalar to Clustertruck. But i need a piece of code to make it so when the player touches the Truck it parents it and so the player stays on the moving truck.

    Anyone got ideas?

    Thanks in advance
     
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    I'm an artist - so this helpful info might be incorrect - although, maybe not.

    Did you check the documentation?

    Did you check google?