Главная

How to Code: Collision Detection




Video quality The size Download

Информация о How to Code: Collision Detection


Название :  How to Code: Collision Detection
Продолжительность :   17.26
Дата публикации :  
Просмотров :   223 rb


Кадры How to Code: Collision Detection





Описание How to Code: Collision Detection



Коментарии How to Code: Collision Detection



Mukul R
What a great course
Comment from : Mukul R


George Northrop
please tell me how I download this on pc
Comment from : George Northrop


Ridham Sharma
Thank you Chris your videos are amazing
Comment from : Ridham Sharma


Ridham Sharma
Use VS Code instead, it have features like live reloading etc
Comment from : Ridham Sharma


RPM Coral
Dunkey
Comment from : RPM Coral


Fat Sack
He finally gets to the point at 10:00
Comment from : Fat Sack


GeKtoRiX
Just a comment to support the channel Keep up the good work Very interesting content
Comment from : GeKtoRiX


Thein Than Hlan
WTF! I am finding this staff since the three days ago of my this day😏
Comment from : Thein Than Hlan


Developers Diary
Is it compatible with react native?
Comment from : Developers Diary


Andrew N
why have the update() when it only calls draw() ? why cant you just call draw() directly instead? (just trying to learn)
Comment from : Andrew N


Walied Hamim
Was the following nessisary in the beginingbrI have windows
Comment from : Walied Hamim


Weary Room
understood nothing man, but thx anyway
Comment from : Weary Room


Akira LeVa
Can you plz plz plz do a tutorial on 3D particles colliding ????? I’m trying to find good tutorials like yours on that but can’t find any and if you made one it would be a breeze to learn !
Comment from : Akira LeVa


UnifiedMemory
The only maths I need
Comment from : UnifiedMemory


Prograbit
This is awesome, but how to do an if statement for squares using getDistance?
Comment from : Prograbit


RikThePixel
How would I go about making a square collision detection
Comment from : RikThePixel


Joshua Musau
Man, you're a genius!
Comment from : Joshua Musau


jasai
Cpr pls whatch this video ahahaha
Comment from : jasai


Степан Палий
it awesome)
Comment from : Степан Палий


BeyondOdyssey
3:21 best part
Comment from : BeyondOdyssey


Matt Cannon
thank you!
Comment from : Matt Cannon


Mahmud Omran
Will u pls do this in jQuery I am having a lot of trouble for this
Comment from : Mahmud Omran


Zim
how can you do collision detection but with other shapes
Comment from : Zim


Damian Butterworth
Oh lord I`ve been using point command to get the ink colour at a x,y all these years Never ever thought about the triangle formula which would of speeded things up years ago on 8 bit machines
Comment from : Damian Butterworth


Raynor
Can this be done with python turtle?
Comment from : Raynor


stolensentience
Check out what castcom? 5:31
Comment from : stolensentience


Janak Medicos
Collision framework
Comment from : Janak Medicos


Abdullatif Yıldız
Why do you start explaining from Jesus Christ's birth?
Comment from : Abdullatif Yıldız


Chris DeJong
This method doesn't apply to all convex shapes The example works here because the circles local origin is the center, thus calculating the distance between two objects for collision detection becomes trivial Given any convex polygon and assuming that its local origin is the center, the distance formula may create a "hit box" larger or smaller than the actual shape There are a variety of methods to calculate collision for any given polygon The information I provide below is well documented online, so I'll spare the math for the wikipedia article if you're interested in looking them upbr1 A less precise (or if you're dealing entirely of squares and rectangles), one could use the Bounding Box algorithm to handle collision of two polygons By encapsulating a polygon in a bounding box (an x, y local origin point and a known size of the bounding box in terms of width and height), the Bounding Box algorithm can determine collision between two objects This is quite fast to calculate as well, making it ideal for sprites and tile-based games which don't rely on precise collision detectionbrbr2 A more precise method called Separating Axis Theorem, or SAT for short, is a far more robust way of calculating collision than the Bounding Box algorithm For shapes which a bounding box isn't desirable, this method can determine collision across all vertices of a given bounding bpolygon/b provided The precision of SAT based collision depends on the amount of vertices of the bounding polygon More vertices requires more computation It may be desirable to approximate the shape in situations which collision detection causes issues in performance One can implement Voronoi Regions which reduces computation time by determine what vertices are closest between two objects, thus reducing the amount of time it takes to calculate collisionbrThere are some issues with collision detection that one might find troubling The velocity of an object (the distance it will travel next frame update) may impact collision detection We will make two assumptions: the first assumption is that implementation of movement is trivial: left/right velocity is added to the object's x position, up/down velocity is added to the objects y position The second assumption is velocity is fixed (speed * delta time) When applying velocity to an object in this manner, it is possible that the objects next position may set its new position beyond the object it ishould/i collide with Assuming all local origins of objects are centered and given an object of 10 units of linear size distanced between another object of 10 units by 4 units of separated space, any velocity of greater than 24 linear units would place the object beyond the expected object it will collide with There are solutions to this problem, most non-trivial The simplest solution to the problem is introducing a velocity maximum Remember to implement an absolute cap of velocity, both in the negative and positive directions Ignoring the negative movement could lead to a bug quite similar to the backward long jumps seen in SM64 Because there is no cap to velocity in the negative direction, it is continually added until Mario is capable of displacing beyond the boundaries of objects Had there been a negative velocity cap, this bug would have never existed
Comment from : Chris DeJong


Lv J
Hi Chris great job with the tutorial Do you know how to make the balls stop rolling a few secs after they stopped bouncing? They've been rolling because of the dx
Comment from : Lv J


Danish Iqbal
"let" is not an improved version of "var" It follows the same semantics as var, with the exception that it is tied to the block scope, not the function scope They are locked to a block, they cannot be accessed outside of a block, and they are removed from memory as soon as the block finishes executing
Comment from : Danish Iqbal


Yuriy Sirotenko
Thank you for video I ran into a problem with square shape Euclidean distance formula works but not as I expected When one square touch the corner of other square - collision does not happened githubcom/christopher4lis/canvas-boilerplate/issues/11 Can anybody explain why? Thank you
Comment from : Yuriy Sirotenko


StainX
Wow, love this stuff, thank you!
Comment from : StainX


Tylor Reimer
I cannot figure out what website your are referencing at 05:27 to learn more about ES6 Sounds like 'Lair Cass dot Com'
Comment from : Tylor Reimer


k s
wwwwashingtonpostcom/graphics/2020/world/corona-simulator/
Comment from : k s


k s
Hi Chris, can you please tell me how to change the colour of the ball when it hits another ball And based on balls collision I need to draw the graph
Comment from : k s


Clauder De paula
Make colision wtc
Comment from : Clauder De paula


Clauder De paula
What talk about i 'am Brazilian
Comment from : Clauder De paula


Great Blue Gamer
Chris: Claims he knows how to do collision detectionbrbrbrMe (testing the code to see if it works): No You Do Not
Comment from : Great Blue Gamer


Prasanna Pokharel
How to make collision detection in c programming Please help anyone
Comment from : Prasanna Pokharel


Luiz Fellype Cassago
Man, Your videos are great
Comment from : Luiz Fellype Cassago


Error Debug
collision detection legit starts at 9:30 min
Comment from : Error Debug


syntaxed2
Give me a fat wet vulva and I'll show you some serious collisionbrOn a serious note, theres so many of these high level languages these dayswhat the hell, its like abstraction over abstraction over abstraction ad infinitumpeople wont know what the hell is actually occuring under the hood soon
Comment from : syntaxed2


Cristian Roman
isn't better to use the draw() function just for the properties that you need to animate in the scene? for example, radius, X, Y? And to bring the non-animating properties to the start of the function? I'm thinking about performance now, what do you think?
Comment from : Cristian Roman


Rahul mathew
i know the chances of you seeing this is slimbut im having trouble downloading the packages since im on windows and use dreamweaveris anyone there who can help me out??
Comment from : Rahul mathew


Joseph Kreifels II
This is about collision, but you're doing a lot of work explaining the classes and objects If someone hasn't learned about those yet, they probably shouldn't be ready to learn about collision
Comment from : Joseph Kreifels II


cALiBr0
how do you make things disappear
Comment from : cALiBr0


cALiBr0
hey yo thanks my dude
Comment from : cALiBr0


Jasper Tresidder
check out collision simulation: br jaspertresiddergithubio/Gyro/ - for phone (uses gyro for gravity)br jaspertresiddergithubio/Test/ - for pcbrlike if want code
Comment from : Jasper Tresidder


person
I've installed all the packages and when I type "webpack' into terminal it gives "-bash: webpack: command not found"
Comment from : person


Nikola Lazarevic
Yours explanation of collision just helped me finish a project I love you so much m8! Keep up the good work Subscribed instantly!!!
Comment from : Nikola Lazarevic


Andrey Fedarovich
Nice, awesome cloud in terminal))
Comment from : Andrey Fedarovich


Peristilo peris
What does 'cd' mean?
Comment from : Peristilo peris


yağız güleryürek
First half of the video is not about collision 👎 it starts @ 09:50
Comment from : yağız güleryürek


Jan Phillip Juntado
you really make the theorem less scary
Comment from : Jan Phillip Juntado


E
Wow it was such a good app idea to use that formula
Comment from : E


Shadow Vortex92
Would it be ok if I referenced some of your tips for a school project?
Comment from : Shadow Vortex92


Aidan Daly
the webpack command is not working for me
Comment from : Aidan Daly


Kamran Khan
You are just AMAZING
Comment from : Kamran Khan


Sayan Das
how do i implement this for touch screens?
Comment from : Sayan Das


Michael Wood
Thank you Chris for your time and effort creating and publishing these videos I personally use them for work and enjoyment Keep them coming!!!
Comment from : Michael Wood


Nogard
What font did you use for your wallpaper?
Comment from : Nogard


Bjørn Drachmann
Hey Chris Cloning your Git repos into a folder and using that dosnt really make sense In the indexhtml which refers to the canvasbundlejs and not just canvasjs which is the one we are coding in? This makes my site to just use the canvasbundejs and not auto use canvasjs like in the video I changed it to refer to canvasjs and not canvasbundlejs and it works now
Comment from : Bjørn Drachmann


keo kawasaki
since we are using oop, we can just pass the circle objects to the function and calculate their hypotenusebrbelieve me, when you will try to make a bigger thing remembering what parameters are to be passed and in what sequence can get real messy
Comment from : keo kawasaki


keo kawasaki
Mathhypot(x, y);brIt calculates the hypotenuse of the given variables!bralso, it works in all dimensions!
Comment from : keo kawasaki


Sergey Gerodes
Thanks for the input! Is there a particular need for the update function? Its just calling "draw" We can just call the draw function direct
Comment from : Sergey Gerodes


Merthalophor
why the fuck is a video your medium of choice when it comes to teaching programming
Comment from : Merthalophor


VR C
Chris, I love that you are teaching me JS at the same time as HTML5 Canvas--just, could you speak a little slower? I have a hard time understanding Thanks
Comment from : VR C


kid_kulafu_
hey sir whats your terminal? thanks youre really awesome!!
Comment from : kid_kulafu_


Jasper Rai
How would I implement this if there are more than 2 circles?, I'm working on a particle collision simulator for my college coursework!
Comment from : Jasper Rai


mfarooqi
super cooooooool how dare you to be so easy!!!!
Comment from : mfarooqi


بول كونيتسكي
got a collision detection task for "Frontend developer" job you saved me, thanks a lot!
Comment from : بول كونيتسكي


avi12
Why not use ES6's class functionality?
Comment from : avi12


Sunny Meghwal
thank you bro u r tutorials are superb love you bro
Comment from : Sunny Meghwal


Pierre Soubourou
I got a 55" phone, but I cannot read
Comment from : Pierre Soubourou


Le Luong
Can you do rectangles instead of circles?
Comment from : Le Luong


Kino -Imsure1200q
I pronounce sqrt as squirtbrbrbrbrbr* AAA :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD* delD/del
Comment from : Kino -Imsure1200q


life with breion
reat vid sirsubbed
Comment from : life with breion


Jimi1000
info fsevents@111: The platform "win32" is incompatible with this modulebrinfo "fsevents@111" is an optional dependency and failed compatibility check Excluding it from installation if somebody on windows 10 got this error can you help me ?
Comment from : Jimi1000


Huynh Luong
please, create tuts game in the next video, tks Chris
Comment from : Huynh Luong


Turgut Taşkesen
nice video
Comment from : Turgut Taşkesen


Shweta Sharma
Chris your way of explaining the things is really superbthank you for your great videos
Comment from : Shweta Sharma


Spiderous
When can we expect new video from you? I'm eagerly waiting for it :D
Comment from : Spiderous


Pranav tube
your are an amazing programmer and teacher!brI assume you have already created an app or two?
Comment from : Pranav tube


Lorenzo Von Matterhorn
Hey Chris, I know you're busy and all but I have a quick question if you don't mind For some reason, canvas animation slows down overtime, is there a specific reason for this? No shadowBlur involved this time Any input would be much appreciated :)
Comment from : Lorenzo Von Matterhorn


Dominic Fernandes
hey chris thank you so much for this video This is probably the best video out there for collision detection Lol I am definitely going through this course😀
Comment from : Dominic Fernandes


Topsoil Depletion Awareness (closing the loop)
evenclientX is the same as eventx?
Comment from : Topsoil Depletion Awareness (closing the loop)


code_ recon
Make a 3d tutorial
Comment from : code_ recon


Arslan Khalid
When is the next video coming
Comment from : Arslan Khalid



Похожие на How to Code: Collision Detection видео

SolidWorks for Beginners | 05 | Assembly - Collision Detection SolidWorks for Beginners | 05 | Assembly - Collision Detection
РѕС‚ : Solidworx Edu
Download Full Episodes | The Most Watched videos of all time
Collision Detection in SOLIDWORKS Collision Detection in SOLIDWORKS
РѕС‚ : Solid Solutions
Download Full Episodes | The Most Watched videos of all time
Collision Detection - SOLIDWORKS Tutorial Collision Detection - SOLIDWORKS Tutorial
РѕС‚ : SolidProfessor
Download Full Episodes | The Most Watched videos of all time
Collision Detection in SolidWorks Assembly Collision Detection in SolidWorks Assembly
РѕС‚ : CAD CAM TUTORIAL BY MAHTABALAM
Download Full Episodes | The Most Watched videos of all time
06 Assemblies 16 Collision Detection 06 Assemblies 16 Collision Detection
РѕС‚ : SolidWorks Training
Download Full Episodes | The Most Watched videos of all time
GitLab: DevSecOps: Part 7/12: How to find secrets in your own code with Secret Detection GitLab: DevSecOps: Part 7/12: How to find secrets in your own code with Secret Detection
РѕС‚ : Romano Roth
Download Full Episodes | The Most Watched videos of all time
[ Gift Code ] Legend of Magatama / Ultimate Ninpou Clash Gift code - How to redeem code- Naruto Game [ Gift Code ] Legend of Magatama / Ultimate Ninpou Clash Gift code - How to redeem code- Naruto Game
РѕС‚ : ATai Game
Download Full Episodes | The Most Watched videos of all time
Collision 2015 - Enterprise Stage - Tony Gallippi u0026 Bill Clerico Collision 2015 - Enterprise Stage - Tony Gallippi u0026 Bill Clerico
РѕС‚ : Collision Conference
Download Full Episodes | The Most Watched videos of all time
RimWorld Guide: Pathing u0026 Collision - Make Raiders go where you want them! [1.4, 2022+] RimWorld Guide: Pathing u0026 Collision - Make Raiders go where you want them! [1.4, 2022+]
РѕС‚ : Adam Vs Everything
Download Full Episodes | The Most Watched videos of all time
Fortnite Collision Live Event! (Chapter 3 Season Reaction) Fortnite Collision Live Event! (Chapter 3 Season Reaction)
РѕС‚ : FruitSnacksS
Download Full Episodes | The Most Watched videos of all time