For anyone struggling to get this working, the key is to set the conveyor belt's rigidbody to IsKinematic (to be fair this is shown in the video, but it's not mentioned as an explicit step by the author and his fucking conveyor belt's name is also cube so...) For clarity tho: - Boxes that go on the conveyor need a rigidbody and a box collider, defaults settings work with no issue (so Rigidbody Mass: 1, Drag: 0, Ang Drag: 0.05, UseGravity: yes, IsKinematic: no) - Conveyor Belt object needs a rigidbody and a box collider. Rigidbody settings: Mass: 1, Drag: 0, Ang Drag:0.05, UseGravity: yes. IsKinematic: YES Box collider default settings work fine. Make sure the collider extends the length of your conveyor (e.g. if modelling it yourself). Also Note, if you have Physics materials on either object's colliders, make sure the friction values are greater than 0, and friction combine not set to minimum.
@haydenmaines5905
3 жыл бұрын
Replying to save the useful info, thx
@theearthburner6159
3 жыл бұрын
Hayden Maines same
@MU6MusiX
3 жыл бұрын
@@haydenmaines5905 OMG.. Same
@ShadowRaptor42
3 жыл бұрын
Yes
@jamess.7811
3 жыл бұрын
Same
@moofymoo
3 жыл бұрын
Physically correct Biter to chew on these belts next!
@rtificial8292
3 жыл бұрын
The factory must grow
@RustyNova
3 жыл бұрын
I see you are a person of culture
@axyuwu5678
3 жыл бұрын
@@RustyNova and so are you
@coffeeman882
3 жыл бұрын
IS THAT A FACTORIO REFERENCE?
@whitedawn2122
3 жыл бұрын
Physically correct flare to harass my conveyers
@Specoolar
4 жыл бұрын
Use -transform.forward instead of Vector3.back to make the movement in local space
@daliborin
4 жыл бұрын
Hey could you share the texture or shader please? I love it
@daliborin
4 жыл бұрын
nvm got them
@tayyipensarozkaya2329
4 жыл бұрын
@@daliborin Where did you get it dude? Sharing is caring :))
@omerfarukbykl6097
4 жыл бұрын
@@tayyipensarozkaya2329 merhaba türk kardeşim
@tayyipensarozkaya2329
4 жыл бұрын
@@omerfarukbykl6097 Merhabalar :)
@MarkRiverbank
3 жыл бұрын
OK, this earned a follow. I already knew the difference between setting the transform and using the MovePosition() method, but I never considered combining them to make something that imparts a physics force without moving.
@ScibbieGames
3 жыл бұрын
That visualization was perfect!
@R3DSH11
3 жыл бұрын
youtube: gives you a video of how to make conveyors in unity My brain: invest
@scaneloPT
3 жыл бұрын
*I literally went to test this out right after, thank you youtube algorithm!* *Btw nice pfp*
@sacaret
3 жыл бұрын
This is a very cultured comment section
@scaneloPT
3 жыл бұрын
@@sacaret *Indeed*
@karimitickaeloogreattemlor3486
3 жыл бұрын
@@sacaret we are in presence of connoisseurs of quality
@tropicalvikingcreations
3 жыл бұрын
@@scaneloPT what are these from?
@DonBloomfield
4 жыл бұрын
I really admire your clear style here. Well done!
@omerfarukbykl6097
4 жыл бұрын
Yeah same, good animations
@mattdavis1475
3 жыл бұрын
That visual demonstration of rigidBody.position + rigid body.MovePosition is so elegant!!
@televisionandcheese
3 жыл бұрын
That's so cool! I didn't expect there to he such a good tutorial at the same time , with an amazing visualisation of how it works!
@NStripleseven
3 жыл бұрын
Makes sense, actually. MovePosition actually drags the belt a bit, and setting position just teleports.
@damastor918
3 жыл бұрын
Almost read "politically correct"
@BRUH2004FTW
3 жыл бұрын
Bruh
@gspapp
3 жыл бұрын
They are!
@Blurro
3 жыл бұрын
That's what I read too
@gunbowling2-vrgamedevlog682
3 жыл бұрын
UGH, i've had ENOUGH of all this Physical Correctness!!
@kgkbuugj
3 жыл бұрын
I was super confused because I thought this was a joke video making fun of political correctness and came to the comments to see what the joke was and saw your comment. I had to check the title again to see this wasn't about politics 😂
@guilhemane
3 жыл бұрын
That's incredibly clever
@DevanK-rg3td
3 жыл бұрын
why was this recommended to me by the algorithm
@diplo6277
3 жыл бұрын
It's not recommended to you, it's delivered to you by a conveyor belt algorithm.
@Lycam
3 жыл бұрын
Because you like salami
@JeanBaptisteEmanuelZorg
3 жыл бұрын
the algorithm assumed you were smart
@greenbin3028
3 жыл бұрын
Remarkably simple but elegant implementation, I'll keep this in mind
@vholst
3 жыл бұрын
I did nearly this exact thing on a final project years ago, was happy to find that it was a rather simple task, helped give life to the background and add some mechanical depth to the movement of our protag
@mikeohc
3 жыл бұрын
Super cool, and intriguing. Appreciate the breakdown!
@XecularOfficial
3 жыл бұрын
Came for the demonstration, stayed for the grooves
@jofouu
3 жыл бұрын
ahaha
@groku5135
3 жыл бұрын
Now we need more of this kind of small tutorials ! Great one mate !
@ethiopia_real
3 жыл бұрын
Now we need a physically correct mech to shoot those belts
@spektremis191
3 жыл бұрын
@@TheNextJakeOwO fellow mindustry player eh?
@harrysvensson2610
3 жыл бұрын
What a beautiful and elegant and efficient solution.
@GeeCeeAte
7 ай бұрын
TWO DAYS!!!! TWO FULL DAYS I SPENT ON THIS!! Dynamically adding anything that touches a belt to a list. Then applying frictionless materials to them. Then making sure the next belt doesn't remove it from a list. Made the list an SO so it could store the data between all the belts. Then making sure whenever something leaves the belt it grabs its original physic material from the dictionary . What a trainwreck!! I am SOOO GLAD I stumbled upon your video. Such an elegant and lightweight solution!!! LIFESAVER!!
@idrawpictures9140
3 жыл бұрын
This is amazing. Just seeing them work was interesting but the fact that you shared your solution is great
@lemonenjoyer6410
3 жыл бұрын
He needs morr subs, the editing is amazing :O
@redy4archive743
3 жыл бұрын
I feel like a very epic chad milk drinker is going to "borrow" this thing.
@numbdigger9552
3 жыл бұрын
@Fishe wait who?
@memory8936
3 жыл бұрын
@@numbdigger9552 you know what I also don't remember his name
@memory8936
3 жыл бұрын
It starts with Dani i think
@mattheholic2
3 жыл бұрын
"I EvaX humbly submit a toast-"
@GzheGzheGzhe
3 жыл бұрын
Yandere Dev. Yandere Dev
@alicewithalex
3 жыл бұрын
Very cool editing and idea, would like to see more mechanics and videos about unity in this style
@foohum48
3 жыл бұрын
POV: You got this in your recommended and you have no idea what’s going on.
@Justin_Joy
3 жыл бұрын
lmao same
@Zed9659
3 жыл бұрын
Lmao same
@kapzduke
3 жыл бұрын
nah it's just casual mindustry gameplay
@angelplayzvr1905
3 жыл бұрын
@@Justin_Joy unity is a game engine to make games.most of the best selling games right now are made in unity.
@chilltrooper9423
3 жыл бұрын
Well i was an ex-gamedev and i watched a lotta Unity 3d tutorials so it makes sense for this vid to appear in my recommendation
@over7532
3 жыл бұрын
Came for the conveyors. Stayed for the funky music
@rosejuliette9180
3 жыл бұрын
It is really helpful that you explained the steps at the start. Too frequently people upload a finished code and I have no idea why what they wrote works for the implementation.
@noatreiman
3 жыл бұрын
Video style and narration are A+
@DetectivePoofPoof
3 жыл бұрын
Wow so nice, thank you! This one goes in the unity playlist for looking up later!
@user-jq3um6ez2h
3 жыл бұрын
The real direction of the conveyor is the "Vector3.back" in the second line. So, if you want to use other directions, you cannot only modify the transform of the conveyor. (for example, you want to rotate the conveyor) you need to modify the "Vector3.back" to your conveyor's direction. I try to set two empty GameObject "front" and "back", minus them to get a Vector3 as the conveyor's real direction and it works. Vector3 move_position = (front.position - back.position).normalized; Vector3 pos = rigidbody.position; rigidbody.position += move_position * speed * Time.fixedDeltaTime; rigidbody.MovePosition(pos);
@mrgonuts
2 жыл бұрын
thanks
@golovastik3609
3 жыл бұрын
Most useful unity tutorial I have ever seen in 2 minutes
@zingers5121
2 жыл бұрын
wasn't looking for this but i needed it
@alexdaguy9626
3 жыл бұрын
Ohhhhhhh this is such a big brain way to make conveyors. Thank you!
@cenklar
8 ай бұрын
Super nice tutorial and straight to the point, thanks!!!
@akisalmenaho8473
3 жыл бұрын
What is this doing in my feed? No matter, this was satisfying to watch.
@nekopaddy6498
3 жыл бұрын
Honestly by this stage I don’t even know why I’m getting recommended videos from 11 years ago
@omgtntlol
3 жыл бұрын
The best 2 minute tutorial. Ever.
@commanderoof4578
3 жыл бұрын
This was in my recommended and i love it!!
@quaackyt
3 жыл бұрын
Hi I just wanted to say this video was very satisfying to watch thank you
@_-8980
3 жыл бұрын
This is a beautifully creative solution
@jeronimosanchez2014
3 жыл бұрын
Jaja that position/movePosition sequence made me smile. Great explanation!
@Konprise
3 жыл бұрын
This certainly is an underrated channel
@Hulikkang
Жыл бұрын
This is the best code for unity conveyor belt. you are amazing. thanks for your share from far away.
@falxie_
3 жыл бұрын
First I was "ah yes conveyor" and then I was "ooh conveyor!" Nice work
@ehsome
3 жыл бұрын
same lol
@Toleich
3 жыл бұрын
Beautifully simple.
@ethribin4188
3 жыл бұрын
Funnily enough, Factorio started with realistic belt physics. Thats where the two belt sides come from!
@rohitsaini5547
3 жыл бұрын
Crazy Creativity bro. I never thought of that.
@EkkoMr
3 жыл бұрын
Looks awesome!
@JonathanDavidsonn
3 жыл бұрын
What a brilliant way to explain the trick without talking or having to do draw kind of confusing workflow to show. Nice! Great tutorial, though youtube randomly recommended me this for no reason lol.
@MrDeanguy
3 жыл бұрын
That was really useful thank you!
@FireJojoBoy
3 жыл бұрын
That is incredibly helpful!
@MU6MusiX
3 жыл бұрын
I successfully applied conveyor belt movement but can't apply the skin. Can anyone help me to make conveyor belt look just like this please!
@MrLuc420
3 жыл бұрын
This is pretty freaking cool!!!
@bob_kat7160
3 жыл бұрын
Unironically this is a really good tutorial
@QuiteDan
3 жыл бұрын
In this solution, is there a space in front or behind the belt that pushes slightly beyond the boundaries of the belt?
@rod2d2rs
3 жыл бұрын
Amazing! Keep the good work!
@dylaninthemovies
3 жыл бұрын
Thought this was just going to give a link to a marketplace asset but instead it actually shows you how to do it!
@-.._.-_...-_.._-..__..._.-.-.-
3 жыл бұрын
You just blew my mind.
@tunnelnugget3181
3 жыл бұрын
That's really cool but if you want to make it even more accurate you could add some code to accommodate for the conveyor's drag on the box. Small light boxes, for example, won't have as much grip on the conveyor so when it touches the bed the conveyor belt will slide under it for a second while the box starts to accelerate. Large heavy boxes on the other hand will accelerate much more quickly. This leads to a bit of sliding around whenever the box goes from rest to moving or when changing direction. This is actually something I have to deal with sometimes in my line of work and is a major factor when designing conveyor systems.
@reactga
3 жыл бұрын
This is pretty nice
@dragonslayerornstein387
3 жыл бұрын
Oh like the old Little Big Planet 3 Sonic Speed glitch. Glad to know logic breaks when making thing like this
@HigherQualityUploads
3 жыл бұрын
Broke: Watching for dev tutorial Woke: Watching for funky music
@Soundy777
3 жыл бұрын
Cracking channel! Just showed up in my feed. Sub’d!! Can’t wait for more!!
@abzer0gaming
3 жыл бұрын
A very satisfactory video.
@salytom341
3 жыл бұрын
The model is absolutely amazing I want to use it
@Gorgggg
3 жыл бұрын
You just fixed my moving platform which was not working for weeks now :D big thank you
@carros123
3 жыл бұрын
Como haces la cinta'???
@glukoto8116
3 жыл бұрын
You just added friction to the motion , well done !
@radianttube
3 жыл бұрын
Why do the first clips so satisfying?
@dominictonisson1946
3 жыл бұрын
its actually sad that these physics are even better than in cyberpunk 2077
@ritchiemeza
3 жыл бұрын
all my years of playing Pokémon will finally pay off
@pepperstocks
3 жыл бұрын
Awesome...really helpful!
@yoyo12345
3 жыл бұрын
KZitem: here's a great video Me: add to watch later
@GeorgiosGaming
3 жыл бұрын
This is pretty sick
@mrorigen
3 жыл бұрын
This is crazy creative
@frenchfries392
3 жыл бұрын
Nice dude. Love it
@LaidbackLost
3 жыл бұрын
“He probably thinking about other girls” My brain:
@Zed9659
3 жыл бұрын
Yes exactly
@necaton
3 жыл бұрын
plot twist: you said that to yourself cause you don't have a girlfriend
@kureysalp
3 жыл бұрын
Can we make this with rotation? I tried lot of things, played with friction, mass, drag, gravity values but boxes flip away from the belt when I use MoveRotation. Is there any way to work it with rotation too?
@Mariusz5400
3 жыл бұрын
Really good movie - without unnecessary talking, only specifics
@JuankQuinteroMejia
3 жыл бұрын
now THIS is creativity!
@ollllj
3 жыл бұрын
can you drop a conveyor on another conveyor? namy naked slugs stack up to 4 layers high, for cover and for faster locomotion.
@eramsorgr
3 жыл бұрын
Fascinating
@lordrykardthesnake
3 жыл бұрын
Nice of the princess to invite us over for a picnic eh , Luigi?
@BasicGDCreator
3 жыл бұрын
Im glad youtube recommended this to me
@maindepth8830
3 жыл бұрын
Oh, this is way better than moving platforms
@thesimracinglegend
3 жыл бұрын
I do not do 3D or games in my life, but I know how to recognize a qualitative video, this is part of it.
@caithid1951
3 жыл бұрын
you just owned a new subscriber
@vinotinto8547
3 жыл бұрын
Wouldn't using a gripping physic material sufficient ? It would fully take advantage of the physic engine.
@GeeCeeAte
7 ай бұрын
sure, but you cant just endlessly move it across the world. youd need to move it back to its start point. which would then just drag the item right back. this code is elegantly mimicking what a looping conveyor belt would do
@uberraschungskiste8143
3 жыл бұрын
This is soooo cool!
@tcheadriano
3 жыл бұрын
Fantastic!!!
@Halo_Legend
3 жыл бұрын
Is it strange that just by looking at it I know exactly what it's made of and how that rubber feels?
@notanenglishperson9865
3 жыл бұрын
Kinda
@shlok975
3 жыл бұрын
It's probably just the textures because i just can't imagine rendering that thing as individual objects
@GrafRucola
3 жыл бұрын
Plot twist it’s made out of bits and bytes
@shlok975
3 жыл бұрын
@@GrafRucola technically it is.
@ido-kaplan
3 жыл бұрын
ngl its AMAZING
@idlebonsai1047
3 жыл бұрын
Very satisfying viewing!
@tacoman8771
3 жыл бұрын
unitys particle system smash wish list on karlson were almost the top ten
@tobihudiat
3 жыл бұрын
transform.Translate(Vector2.right * horizontalAxis * speed * time.deltaTime) would be great too for movement. Or the new input System that I don't like. (It would be working with a Vector2.Zero variable that you can assign with a variable like vectomov.x or make the x a public string to assign it how you want) I like this. This is great what you were doing here.
@alinayossimouse
3 жыл бұрын
Can it also do the windmilll thing where you have two parallel opposite direction conveyors and something that's wide and narrow will rotate on them like windmill?
@infanatosuks4880
3 жыл бұрын
Even though I have no idea this is still the video to watch
@yoloboogie3674
3 жыл бұрын
this will be on everyone’s recommendation
@ZeroRaxo
3 жыл бұрын
the drum on the music reminds me of that one web where you can watch weird stuff, the logo is like the old youtube logo but orange
Пікірлер: 738