Search Unity

  1. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  2. Unity 2017.2 is now released.
    Dismiss Notice
  3. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  6. Unity 2017.3 beta is now available for download.
    Dismiss Notice

Survival Shooter Q&A

Discussion in 'Community Learning & Teaching' started by willgoldstone, Jul 3, 2015.

  1. gwnguy

    gwnguy

    Joined:
    Apr 25, 2017
    Posts:
    96
    You have a misplaced line at line 58. Currently, the method void Animating is seen as part of the method void Turning.
    You need to move the closing bracket from line 58 to line 52 (thereby closing the Turning method)
     
  2. ToxicSeaSponge

    ToxicSeaSponge

    Joined:
    Sep 25, 2017
    Posts:
    3
    Thank you so much, I think I could have looked at that for hours and just taking that for granted.
     
  3. NewbieJD

    NewbieJD

    Joined:
    Jul 15, 2017
    Posts:
    2
    Sorry, has any sort any idea with this? I'm still totally stuck!
     
  4. amstaker

    amstaker

    Joined:
    Sep 30, 2017
    Posts:
    2
    I belive checking the Apply Root Motion took care of this for me, it was set by default on the Zombunny.

     
  5. gwnguy

    gwnguy

    Joined:
    Apr 25, 2017
    Posts:
    96
    I can't guarantee any help, but perhaps you could post the code snippet you have modified. Then, perhaps people could duplicate your mods and see if they could offer help.
     
  6. jdrobinson99

    jdrobinson99

    Joined:
    Sep 30, 2017
    Posts:
    2
    Hey, I just opened the project file and took a look around. However I noticed that while the game is running, each enemy spawns with a point light of a certain color; I couldn't find it in the enemies' prefabs nor any reference to it in the script files. I looked on the tutorial site which provided transcripts to all the videos, and I can't find any place where it's mentioned. The materials' emission color also doesn't affect the point light color.

    What is creating the point lights on every enemy?
     
  7. gwnguy

    gwnguy

    Joined:
    Apr 25, 2017
    Posts:
    96
    I'm not sure how it was done in the example (I don't remember).
    It seems that in my game, I attached a Point Light source.
    It is several months since I did it, and I don't remember anything about it, so make of this what you will.


    upload_2017-10-2_16-52-58.png

    upload_2017-10-2_16-51-31.png

    upload_2017-10-2_16-56-2.png
     
    Last edited: Oct 3, 2017
  8. jdrobinson99

    jdrobinson99

    Joined:
    Sep 30, 2017
    Posts:
    2
    Weird. In the prefabs, there's hit/death particles parented to the ZomBunny object; there's also a "Zombunny" model attached with no children. When I drag it onto the scene hierarchy... the "Zombunny" child suddenly gains a child that's a point light. Strange.
     
  9. kentg1

    kentg1

    Joined:
    Dec 22, 2014
    Posts:
    72
    I just download the project - 5.0 verison. I can see the entire scene in the game view but nothing in scene view? The exact opposite of what you show
     

    Attached Files:

    Last edited: Oct 5, 2017
  10. kentg1

    kentg1

    Joined:
    Dec 22, 2014
    Posts:
    72
    I appears this thread is dead and the project no longer even loads correctly in 2017, I would suggest it be removed so that we do not waste our time trying to even download it
     
    Last edited: Oct 9, 2017
  11. gwnguy

    gwnguy

    Joined:
    Apr 25, 2017
    Posts:
    96
    It could be that you are viewing the bottom (under the floor boards) as opposed to the top, or perhaps on top but looking away from the game play area.
    Try clicking on the upload_2017-10-9_10-37-51.png thing and see if things show up.


    Also, please confirm the transforms and other values for all your game objects:
    upload_2017-10-9_10-39-52.png

    upload_2017-10-9_10-40-22.png

    upload_2017-10-9_10-40-54.png
     
  12. R3n33

    R3n33

    Joined:
    Wednesday
    Posts:
    3
     
  13. R3n33

    R3n33

    Joined:
    Wednesday
    Posts:
    3
     
  14. R3n33

    R3n33

    Joined:
    Wednesday
    Posts:
    3