Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Lightsaber

Discussion in 'Getting Started' started by MilchBrocken, Dec 22, 2019.

  1. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
    Hey✋,

    i know this isn't scripting but I think you can help me. My question is: Is it possible to make a 3d lightsaber in unity? I tried this but nothing happened.
    And the other thing is it possible to make melee combat in Unity3d? I know you think: Wow it is a loser! And yes your right I'm a noob.

    Thank you
    Yours MilchBrocken and have a nice Christmas and new good Year <3!

    (I think this is going to a Discussion;))
     
    hippocoder likes this.
  2. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    3,686
    What did you try exactly?

    As for melee combat, why on earth wouldn't it be possible to do it with Unity, with any game engine for that matter?
     
    MilchBrocken likes this.
  3. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
    Oh sorry,

    ok here is an example: You have Kylo Ren's Lightsaber I can turn the blade on and off but I don't know how to make damage. I would like to make a Lightsaber that make damage. But (and here is the question) how? How I make damage. And I don't know how to make melee combat. Ok I know how to make melee combat for 2d but not for 3d so I need help here also.

    But thanks for your Reply.

    Have a nice Holiday and Christmas ;)
     
  4. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
    And this is what I tried
     
  5. Madgvox

    Madgvox

    Joined:
    Apr 13, 2014
    Posts:
    871
    Care to be more specific as to implementation details? Methods, code, etc.

    What specifically are you getting stuck on?
     
  6. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,289
    Seems OP need first play with Getting Started forum section.

    Then look for mele combat tutorials/assets.

    Then look for laser swords assets/solutions.

    Done.
     
  7. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,727
    Basically, the computer is dumb so you generally want to invent things yourself and tell it every step. You also have to fake everything, like the movies!

    For example...

    This might mean you use a thin cylinder for the glowing part and give the thin cylinder a material with a high emissive or emission value to make it glow.

    You could hide or show this cylinder GameObject to turn the saber on and off.

    You could look at adding a post effect like bloom later.


    All these things are built into Unity. To know more about how to control Unity I suggest you try the Learn section of the website first, to get an idea how things work.

    https://learn.unity.com/home?utm_expid=.4jaqlWY7RpeahWf1hJlPnw.1&utm_referrer=hippocoder
     
  8. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    3,686
    How do you make it become progressively longer or shorter depending on its state, on or off? ;)
     
  9. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
    Ok

    Here is the Code:
    github.com/Roland09/Lighsabers-Tutorial

    Then where I stuck on is the damage and the melee combat
     
  10. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31

    Ok

    Sure there melee combat tut but they all in 2d and I have a 3d game.
    And there no lightsaber assets or solutions.
     
  11. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31

    Ok thanks for your Reply but I know all of this. I Reply to the Post of Madgvox and made a GitHub profile. And there are all Scripts, Models and other things.
     
  12. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,289
  13. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
  14. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,289
    And what you propose for that matter?
    There is slider on side in asset store, you can search for free assets.
    You need put some effort.
     
  15. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
    I have search for free assets but there is no free asset that have a lightsaber or a melee combat script
     
  16. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    113
    a simple light saber
     

    Attached Files:

  17. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
  18. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
    what's that?
     
  19. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    113
    a very minimalistic 3d light saber
     
  20. MilchBrocken

    MilchBrocken

    Joined:
    Nov 5, 2019
    Posts:
    31
    ok thanks but what you mean with minimalistic lightsaber is the lightsaber mini
     
  21. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,727
    The thread is moved to getting started.
     
    MilchBrocken likes this.
  22. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,289
    You should open and see what it is. I can say, it is 3D model.
     
unityunity