How to Make a Game – Drawing with LineRenderer in Unity3D
Learn how to use a linerender in unity to create a simple drag indicator.
This is an extension for my Unity 2020 Beginner video –
0:00 – Intro & Setup
5:11 – Transparent Cutout Material Creation
10:13 – Writing Code – LineRenderer.SetPosition
14:53 – Public properties in c# (with private setter)
19:50 – Multi-level support with prefabs
26:28 – Material Render Queue / Order
Art and Extensions:
Join the Group:
I thought you were using Rider — what made you switch back to Visual Studio, or are you just keeping all of your tools sharp?
does draw gizmos have a max of 20 lines it will draw?.. i have a project with patrols over 20 points and it doesn't seem to draw those lines that would be drawn over point 19
I noticed you disable line renderer every frame.
Does it mean that i wasted time working on ways to only turn objects on/off once by creating extra methods?
I'm still new to programming and i worried it's possibly bad.
Great video! Thanks a lot for the healthy tips.
Godot the lenged of making beginner devs dream come to life
pls dont stop making videos <3
Awesome video, I like the video flow
I've actually used line renderer on my enemies and NPC's to setup my Enemy and NPC A.I. to make sure that I could see the areas for alert and attack
while testing to make sure all aspects of the A.I. can be tested before pushing to master
Jason please make a tutorial on enemy ai from call of duty or far cry games please
Would definitely like to see the ShouldDieFromCollision expanded on — need additional Ways To Die.
Watching a monster fall from 8 crates high, flipping and rolling and not dying because it wasn't touched on its head is silly.
Add a few building assets or allow crates to be destroyed.
Explosions which can destroy crates, or alter or destroy building materials which make for additional Monsters deaths.
Definitely additional ways to die!
A short lecture on collision.contacts[x].normal and how to implement additional ways to die.
I like every video that has timemap on it. I don't want see what i already know. other Youtubers should learn from u about using youtube features .
This was really helpful. Thank you!
How to make 3d character wave ine renderer
Been feasting on your videos for quiet sometime. I recently ran into something that stomped me pretty good and wonder if you either had a video on, or could make one on… Converting projects for android/ios from mono to il2cpp code. How to stop code stripping and linking files and preserve tags and such? Just a thought to save some poor souls, like myself.
That was a great tutorial. I wasn't even wanting to do this, or even looking at Unity stuff tonight, but clicked because I was curious about LineRenderer. Thanks for posting. Just to clarify though, the line didn't appear in Level 2 initially because it was being rendered behind the background image? Is that why you had to set the z value to -0.1f, because that brought it a tiny bit forward?
Really cool LineRenderer tutorial Jason! 👊🤓
Can I know your age?😅
i have requested please i have more than month i try to add mobile control to The Explorer: 3D Game Kit
but never success. can you make it
Great video. 👍
Please read full comment🙂🙂
Please make a discord server so we can ask question easily☺️😊☺️☺️😊☺️
Give link in your next video
can you please make a tutorial about how to make a dialogue interaction with a npc
hey bro can explain how this thing we can achieve in unity
sound effect as per our around environment
If we are in room thn our gun sounds will be different nd if we are outside so our gun sounds will be different
Hey Jason I have a question I want to get into game development and I am wondering how do I look for colleges
Great video. Thanks.
Love the Line extension from the bird
Earth 2 Jason Weimann
Great Fun. How about some sound effects and making the player get attacked by the green bird? A scoring system perhaps of birds killed persistent across levels and high score before you died. Other ways for monsters to die? Use the Green bird animations flying around perhaps?
I'm back for more.
It is very helpful! Thanks!
only getting one dot, not multiple on line render. is there an attribute I could have missed? i switched it to tile and the dot looks fine, but there's only one.
Business Opportunity in Ruvol
I have invented a Board Game [still unpublished and not yet out in the market] that I believe is guaranteed to be as challenging and exciting as CHESS. I called it “RUVOL.”
It is my hope that one day Ruvol may surpass chess as the “Number One Board Game in the World.”
The weakness of chess is it always starts in fixed positions that the opening moves become “memorizable.” In fact, not a few have so mastered the moves that they can play against their opponents “blindfolded.” It is for this very reason that the great Bobby Fischer introduced his so-called “Fischer Random Chess,” where the starting position of the pieces is “randomized” to make the memorization of openings impracticable. Fortunately, it is also for this reason that I invented Ruvol where “every game” has been calculated to be a challenging one to play.
HOW IS RUVOL PLAYED and HOW YOU CAN MONETIZE IT?
I detailed everything in my YouTube video. Here is the link: https://www.youtube.com/watch?v=jcqth0m3-R0
BIG MONEY POTENTIAL IN RUVOL!
It is worthwhile to note that the people who play chess will be the same people who will play Ruvol. In my Google search, I learned there are around 800 million chess players in the world. Even just a small percentage of these 800 million is good enough to earn big money from Ruvol either as an ONLINE GAME BUSINESS or as a PHYSICAL PRODUCT DISTRIBUTOR.
You may contact me at: firstname.lastname@example.org.
Thanks and God bless!
RODOLFO MARTIN VITANGCOL
The Ruvol Inventor
looking at the thumbnail i thought jordan peterson was gonna teach me some line renderer
Can you please do a unity tutorial on a 2D platformer
Hi, I am having real trouble getting this working on other or multiple Birds?
mine is still invisible in 3d view…
Thanks for the tutorial.
Will this work in a 3D game?
Old asmongold is that you
I keep having this trouble that I can't move the line (manualy), how come?
Also, I didn't have the bool _resetting; in my script all though I followed everything? What's this for??
Maybe a starter screen? pause play button
Having an issue where my Line Renderer doesn't appear in play mode? Shows up just fine in Scene mode, even in a fresh project. I am, for the moment, drawing on a UI Canvas, is there a different tool I should be using to draw a line on that?
Thanks Mr. Jason for this tutorial.
Awesome! Thanks A Lot!
You are so like Negan from the walking dead.
I have 3 birds per level and the line only renders from one each level and not the other 2?
Adding a score to the game would be great and a way to end the game or go back to the start.
Saving high scores would be great too.
Love you JDog.