Hi i hope can help me. I am trying to make the line renderer shoot very far. i am experimenting with the survival shooter tutorial for Makinom. Currently i replaced some things. Put in Unity Terrain assigned within the 'shootable' layer and a plane assigned within the 'floor' layer but when the player reaches a certain distance across the terrain the line renderer starts to shoot towards the other direction. Please help.
  • look at the script for it
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • If you just want the line renderer to show the line going very far without really hitting any specific game object, you can use the Vector3 Transform Value node to set up a variable to hold the end position of the line.

    E.g. using a Vector3 value X=0, Y=0, Z=100 and setting Modify to Transform Point will store a position 100 world units in front of the used game object into the defind variable.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you! i will try that out.
  • I purchased Makinom at the asset store. Its really awesome!
  • Thanks, glad you like it :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.