Search Unity

Unity Teaching (Shooter Game)

Discussion in 'Community Learning & Teaching' started by nioprocs92, Apr 17, 2015.

  1. nioprocs92

    nioprocs92

    Joined:
    Apr 17, 2015
    Posts:
    2
    After i succesfully did part 1 i kinda get stuck on part 2
    there is something with the rigidbody that isnt right
    me player wont move or what so ever
    also copied the script to see if it helped but it didnt.
    i watched that specific section over and over again and i dont know what im doing wrong
    i have uploaded the scene screen and the MonoDevelop screen
    can somebody please help me out

    PS im using Unity 5
     

    Attached Files:

  2. nioprocs92

    nioprocs92

    Joined:
    Apr 17, 2015
    Posts:
    2
  3. keibo

    keibo

    Joined:
    Apr 20, 2015
    Posts:
    1
    Hi I recently did this tutorial. Are you still having that issue?

    I think the issue is that you have your rigidbody component on the sub player entity instead of on the top level player entity? Your PlayerMovement Script is most likely attached to the top level Player entity as well so it probably doesn't know where the rigidbody component is.

    Hope this helps