I just released a new Unity Asset for making Platformers : u3d.as/2eYe
@Tony-gq4en4 жыл бұрын
This is life saving! I thought this had to do with my monitor. You just fixed the last 8 months of my life! Thank you John!
@LostRelicGames4 жыл бұрын
Your comment just made the video worthwhile mate!
@Tony-gq4en4 жыл бұрын
@@LostRelicGames This video literally just helped so much! Immediately became a patron! Thank you Thank you Thank you!
@LostRelicGames4 жыл бұрын
@@Tony-gq4en you are awesome man! I'm keep the tips coming!
@crispy_doggo91174 жыл бұрын
Same here! Strangely, on my 144hz monitor I had severe blurring behind my character, and on my second 60hz monitor, it was just a jittery lag on the movement. This fixed both of them!
@klaus117gaming3 жыл бұрын
Sometimes I run into funny problems in unity and it drives me crazy. This was one of them, thanks for the save man. Would be awesome if you can make more videos on common problems like this
@NobSwitch4 жыл бұрын
This could have been a 10 second video. But you take almost 5 minutes to fully explain to us everything. I wish you were my university professor
@carlosjesus4453 Жыл бұрын
Oh my God, thank you. I've been unable to fix that error for months and have read dozens of posts saying it was a problem with my screen. A million thanks. You don't know how happy you've made me.
@lodesa Жыл бұрын
Uggghhhh... I could have saved myself 3 hours of frustration if I had just watched this sooner... Thank you so much for this!
@lucasburford78813 жыл бұрын
Literally saved my life, my character was jittering so bad when I moved them, this totally solved it. Thank you so much, genuinely! Definitely earned a sub :)
@0Baita04 жыл бұрын
I literally, deleted, my ENTIRE rigidbody character controller the other day and reprogrammed one that didn't need a rigidbody! I'M GOING BACK! THANK YOU SO MUCH FOR THIS!
@barankavlak Жыл бұрын
You are a life saver sir. I was almost lose my mind because of cars shaking. Thanks!
@RickRodGaming4 жыл бұрын
THIS IS THE ABSOLUTE BEST!!! This fixed all my jittery nightmares. You have no idea how long I been looking for this solution to no avail, till you came along. Awesome video!!
@assassin_squid2 жыл бұрын
I thought this issue had to do with my poor networking skills. You just saved me from so much pain. So glad I saw this before i tried to fix it myself
@melvmay4 жыл бұрын
I want to start by saying that this is a great video! Regarding interpolation though; Interpolate doesn't change the simulation at all. Indeed, internally the simulation knows nothing about intepolation. Interpolation only applies to the Transform! What does change is that per-frame the Transform isn't going to be the same as the body but instead moves from the previous body position to the current body position so it's always lagging behind the "real" body position. This means that Rigidbody2D.position and Transform.position are not the same with interpolation. This is important if you're using Transform.position/rotation for queries or other calculations. The Transform pose therefore isn't the same as the Rigidbody2D pose when interpolation are on. Body position is the authoritative pose but it's only updated when the simulation runs. If you are seeing something different happening with this option on then some script is performing work based upon the Transform pose and not the body pose. Interpolation is always behind the body position but extrapolation is always ahead of it because per-frame the Transform is set from the current body position to the extrpolated body position in the future based simply on its velocity i.e. predictive whereas interpolation is historic from last to current.
@LostRelicGames4 жыл бұрын
Great explanation Melvyn! Thanks for taking the time to delve into the underlying mechanics, insightful!
@melvmay4 жыл бұрын
@@LostRelicGames Never a problem. Ping me if you need anything at all.
@angryninja50304 жыл бұрын
Lol can you rephrase that in English 😊
@jauharialafi3 жыл бұрын
Wow, this should be a Unity essentials. It's a sin that this is not a widespread knowledge. Thank you so much for this.
@kanaip5028 Жыл бұрын
Amazing! This really did the trick for me! It's my first time using Unity for a game dev class and I encountered this issue with my character's walk cycle a couple weeks ago. Since then, I've been re-animating in AfterEffects and testing in Unity with no success. I even tried moving around keyframes in Unity, which also didn't work. This was perfect, thanks so much for the quick tut!
@duanenso_freestyle Жыл бұрын
I always wondered why Interpolate watching these tutorials on these FPS controller things. They always say - do so, but never really states why. Super Duper helpful, subscribed instantly!
@RajThakkar993 жыл бұрын
Thanks mate! This did work. I have gone through several forums and posts with different solutions but this fixed it for me! You are a life saver!
@Oto_joolix3 жыл бұрын
OMG THAKKKKKKKKSSSS, i've sat here now for 2 days, asking myself what i did wrong in my life xD and no one had an answer to this accept for you!! Now why player isn't jittery anymore, love you! thank you verry mutch :)
@inxendere3 жыл бұрын
This is by far the best channel i've seen for unity 2d dev. Sub earned
@LightReachGames Жыл бұрын
Thanks for this brother! Really needed it as my player avatar was having an awful jittery problem. It is now fixed thanks to your tip :)
@redfinance3403 Жыл бұрын
Thanks so much! As a newbie to Unity I thought it was something to do with my code but turns out not! Great video and straight to the point!
@KeYatoKT2 жыл бұрын
My player was jittering a lot and I coudn't find why but after seeing the video and try with differents interpolate parameter I did solve the problem. It is here the most efficiant video that I found for solving this issue. Thanks 👍👍
@meer81 Жыл бұрын
Thanks for Saving every poor soul working on a game late at night.
@TechBoxNorth4 жыл бұрын
Awesome short fix tip video! Even though I'm just starting to learn Unity, this motivates me to keep going. Thanks!
@matthewmathis622 жыл бұрын
I just found you, and I'm very happy I have! Thank you for this. It was both fun to watch and informative!
@r.i.p.44853 жыл бұрын
Wow thank you so much. I have an endless platformer and EVERYTHING is jittery and I was so depressed, I thought fvk, I've done all this work and it feels like sht. Thank you, you brought my spirits up again. :')
@jessislearning2 жыл бұрын
You save my life! I had the problem with the player, and it works now!
@SomebodyPickaName2 жыл бұрын
Bro! Fist of all, awesome game you have cooking there. Second, thanks so much for the helpful tip! I Googled this issue and your video was one of the top search results. It's much appreciated because you also taught me something about how the physics operate with it turned on. Thumbs up and new subscriber here!
@LostRelicGames2 жыл бұрын
Glad I could help ! 👊
@MaximumSpice4 жыл бұрын
Simple and easy fix plus no time wasted rambling. Cheers man!
@RandomUniqueStuff014 жыл бұрын
Man, this tip is amazing. I was wondering why my gameobject was jittering. Thanks so much!
@LostRelicGames4 жыл бұрын
Glad to help! It's secret occult knowledge, or so it sometimes seems! :)
@josephj.chunta2864 жыл бұрын
Thank you so much! I am working in 3D and whenever my player stops, it just jitters like crazy. This solved the issue! Your explanations are great and I couldn't have found this at a better time! You have yourself a new subscriber. ;)
@Jessiepinkmin Жыл бұрын
This is a great tutorial, you explain why the jitter is happening, how to fix it and how it all works!
@marcrafat78502 жыл бұрын
Thanks for this tip! You helped me a lot. This is the best quick tip I have ever seen.
@yaboishadowninja2 жыл бұрын
It's always one option that messes with stuff lol. Thank you so much for this tutorial. Also, game looks SICK! I'm gonna check it out.
@garbski424 жыл бұрын
Thanks! This has been driving me crazy for months!
@LostRelicGames3 жыл бұрын
Me too at the time! I just had to share it ;)
@Silvertaurus_Ай бұрын
4 years later and Thank You!
@befree93902 жыл бұрын
I fixed it by changing Update into FixedUpdate method for player movement. Thanks!
@theplaymakerno13 жыл бұрын
The Unity World will not be complete without you Sage John
@rubencrespo96992 жыл бұрын
Thanks for this tutorial, i had a similar problem and now is fixed
@splicy89893 жыл бұрын
Thank you so much, i was trying to figure out how to stop my sprite from rotating and thanks to you i did it with a 3 clicks (sprite>constraints>freeze rotation)
@indedevelopement2 жыл бұрын
I started watching your videos from couple of days before I loved them I have never seen this kind of fully explained video for unity please don't stop making videos. And make some free course for us please🙏.
@aydenbales3 жыл бұрын
Thanks for the tutorial! Worked like a charm!
@safarsaitam3 жыл бұрын
Simple way to solve, simple and awesome kind explanation. Thank you!
@johnterblancheyoutube15 күн бұрын
It took me a full day to find the fix for this bug 🙄 This is what it's like to build a game I guess. Thanks for the fix!
@Vanduo6103 күн бұрын
If you are stuck on one thing, just put in the fix list and in the evening or other free time when you scroll social media bored, go find solutions and save the videos you think that helps.
@remtom3 жыл бұрын
this dude just saved my life
@vast6343 жыл бұрын
Great tip, I totally overlooked that option.
@David-bj6gw4 жыл бұрын
Good advice. I really can't wait to play your game!
@Ironroc3 жыл бұрын
Wow! Massively big save there. Instant fix for something that was driving me crazy. Thank you soo much! Subbed and liked :)
@LostRelicGames3 жыл бұрын
Glad it fixed it!
@magnusm43 жыл бұрын
"If you use it on everything, it might have serious performance implications" "worries in 60 player servers"
@robertcirnu91292 жыл бұрын
literal life saver, you have my gratitude!
@Andrew-he5gj3 жыл бұрын
I should have just come to this channel in the first place.... would have saved a lot of drama.... greta video
@wormsquirm27072 жыл бұрын
holy shit this is amazing thankyou so much I needed this for so long
@Xeridae3 жыл бұрын
Hey, thank you so much for this. I know it was really simple but it helped me out a lot.
@tingles_studio2 жыл бұрын
Thank you, that's fixed so much jitteriness
@baynetaoufik27414 жыл бұрын
You and Blackthornprod are in the same level , thanks to you man .
@greninjagreg62452 жыл бұрын
I liked and subbed for the great explaining skills!!
@AndersonLuiz-zl4hm2 жыл бұрын
Sir, you saved my life. Thank you so much for this video!!!
@Smumbo4 жыл бұрын
In order to save on performance, could there perhaps be a system where the interpolate setting is toggled for rigid bodies that enter a certain radius around the player? That way we don't waste performance on further away objects since we might not care about accurate physics simulation at a distance. Though I'm also wondering if toggling that interpolation setting at runtime might be a performance hit in and of itself.
@LostRelicGames4 жыл бұрын
That's a very interesting idea! And i would say probably yes. Will test this out. Great idea mate
@Spaceman68ok Жыл бұрын
Have you made this work?
@constantinemartin24412 жыл бұрын
This fixed my problem right away thank you!
@RomMor-s5k4 жыл бұрын
Great stuff! Will definitely keep in mind for the future
@PhilDeveloper3 жыл бұрын
I love tutorials like this! thank you!
@efadsafi64742 жыл бұрын
Thanks man. It really was a pain in the butt...
@woltwa Жыл бұрын
the GOAT
@LukeHwarang3 жыл бұрын
How peculiar. In my case, I had to set the interpolate to "none" or "extrapolate" to stop my jittering effect. However I'm making a 3D game with 2D sprites, the jittering was happening when the player tried to walk throught walls. Anyway this video gave me the idea to mess with the interpolate options and solved my problem. And also now I've learned a new thing. Thx mate! o/
@Windstale4 жыл бұрын
Wow man this tutorial is save my life 👍👍👍👍👍 great video keep it up.
@SiddharthVerma_9114 жыл бұрын
TIL, thanks 👍🏻 The art looks fab 😄🤩
@kkm0023 жыл бұрын
Lifesaver! Thank you so much for this
@lagio0lagio059 Жыл бұрын
Thank you bro, you have my full gratitude
@Krentiles3 жыл бұрын
Thank you so much. You are my Game DevGod.
@ToeCat4 жыл бұрын
hooly shit this saved my headache
@Leito4Gaming Жыл бұрын
You saved me! Thank you so much! Like and new sub!
@ash732411 ай бұрын
Got it in one! Nice on bro
@Wayloz2 жыл бұрын
Super helpful information! However (and I don't fault you if you don't know) in VR this isn't solving my issues. Currently I have a charactercontroller than handles my player movement, and from what I understand when I grab an object, it follows my hand by using my controller's velocity and applying velocity to the object. When walking around the object trails behind for a split second and then catches up with my hand. I figure this is due to me used a moreso kinematic movement system and there being no directional velocity for my controller when moving so it guesses and catches up. Though multiple things I said there could be wrong, I'm not the most informed but I'm willing to learn. Thanks again!
@theorionfrontier27424 жыл бұрын
Really good tipp, thank you for that !
@pedromartins90492 жыл бұрын
Finally, an answer to my prayers
@stevencraeynest77294 жыл бұрын
Another thing that causes jitter is when you apply forces in Update() rather than in FixedUpdate(). Which is annoying, cause you actually have to read input in Update(). So if you need to apply forces based on input, you need to store the input in variables in Update(), and then use them in FixedUpdate() to apply forces.
@ijidau3 жыл бұрын
This isn't the case if you use the new Input System which is event based and does not rely on Update() polling.
@nerdimesrobcou95293 жыл бұрын
It can be too because camera movement is updating in Update() and the position of object is updateing in FixedUpdate(). If you put camera into FixedUpdate() it should work too.
@sinho1132 жыл бұрын
wow, i tried the fix on the video and didnt work until i saw your comment it it worked first try ;D thanks bro haha
@aleksandraopacic2901 Жыл бұрын
I can second that, wow, I also tried this and many many other solutions that didn't work and it was the camera all along, lifesaver thank you!
@rizojunuzovic132 жыл бұрын
great video. straight to the point. thank you
@dylantryalot61873 жыл бұрын
Thank you so much. Great explanation.
@nishchaybhutani45074 ай бұрын
Thanks a lot! You're a lifesaver!
@pad.34 жыл бұрын
you have saved my bacon, mr
@arbabgull48133 жыл бұрын
thanks for the guide helped me a lot
@YehielCertner4 жыл бұрын
Amazing! so simple so helpful!!! thank you!!!!
@rexxthunder Жыл бұрын
Thank you! That fixed my issue!
@CirbyWeh4 жыл бұрын
Really nice tip, thank you!
@BlizAce2562 жыл бұрын
Thank you so much. You are a legend!!!!
@perfecthatred77194 жыл бұрын
Nice this was very helpful.
@modestcornelius47442 жыл бұрын
This was a life saver😁
@SMT-ks8yp3 жыл бұрын
IDK if using velocity as animation trigger was good idea, but this seems to help when I need to determine if the player stays still.
@ahmedsiddique29984 жыл бұрын
ok i used interpolation i got a hint from some forum but im applying it to an enemy ragdoll and some time my enemy ragdoll becomes glitchy u know like a monster extra stretching every body part do you have tips how to fix it ? im also using timescale its an action camera + body hit in slow motion I hoe u understand
@jasonazevedo28813 жыл бұрын
you are a GOD my friend!
@_g_r_m_3 жыл бұрын
Interpolation makes my player ignore colliders and also doesn't solve the jitter, weird, glad for the ones who worked for
@pcernuska3 жыл бұрын
Try to extrapolate first if it would work fine and in case it is less resource hungry.
@cazterk3 жыл бұрын
easy does it, this video is golden thank you
@appsyz51033 жыл бұрын
Thank you!
@JK96CZ Жыл бұрын
I'm still a beginner, so it may be trivial, but I've got one question about that. If you use it on more things, it has a performance issue, but does that apply on currently moved objects or overall? Let's say I would have 100 of these wagons in my level, each with interpolate, but they could be only two at a time moving, cause they are spread around the whole level and there is no way of getting more than two at a time to move. In the second example I would have, let's say 20 objects with interpolate but all of them in the current scene and moving. Which would hit performance harder ?
@codycanipe44153 жыл бұрын
wow, nice one, thanks man!
@dannychatzi48344 жыл бұрын
Cool tip! Thank you!
@dallen2403 Жыл бұрын
Amazing. You're awesome. Thank you
@franham2 жыл бұрын
Thank you very much! I subscribe!
@fruitfunfitness35842 ай бұрын
I suspect turning the camera update mode to fixed update could also be a potential fix.