▲GN⁺ 2024-05-25 | parent | ★ favorite | on: 2D 강체 충돌 해결 방법(sassnow.ski)Hacker News 의견 해커뉴스 댓글 모음 요약 Hey everyone, author here! 블로그 시리즈의 첫 번째 글로, 게임 개발자가 아니거나 수학 배경이 약한 사람들을 대상으로 함. 개념을 자세히 설명하는 이유는 이 때문임. 질문이 있으면 언제든지 환영함. Oh! Look, a well-researched, deeply-explained, and interactive post. 도메인 이름과 TLD가 ".ski"인 것을 보고 다른 멋진 글을 쓴 저자일 줄 알았으나, 다른 사람이었음. 글의 품질이 비슷하게 훌륭함. ".ski" TLD의 비밀이 궁금함. One side project I am working on right now is a 2d space shooter I am developing with my son. 아들과 함께 2D 우주 슈팅 게임을 개발 중임. 게임 엔진을 사용하지 않고 직접 구현해보려 했으나, 충돌 감지 문제에서 어려움을 겪음. 결국 Box2D를 사용하기로 결정함. 20년 이상의 개발 경험과 수학 배경이 있음에도 문제를 과소평가했음을 깨달음. I always enjoyed the explanation from the N game: N game tutorial 플래시가 유행하던 시절, N 게임의 설명을 즐겼음. I had fun building a TypeScript demo about this topic, involving balls that can bounce and collide. I learned a lot. 공이 튀고 충돌하는 TypeScript 데모를 만들며 많은 것을 배움. 코드 결과/데모 This is great. This reminds me of Chris Hecker's Rigid Body Dynamics series from GDMag/Gamasutra that I read (checks watch) almost 30 years ago! Chris Hecker의 강체 역학 시리즈를 떠올리게 함. Chris Hecker의 강체 역학 Collisions are violations of the pairwise non-intersection constraint between bodies. 충돌은 물체 간의 쌍방 비교차 제약 조건의 위반임. 충돌력은 이러한 제약 조건의 라그랑주 승수임. 충돌 노멀은 제약 함수의 부분 도함수임. If you want to go further and go for rigid body dynamics and constraint, I found that series of blog post very useful: Toptal blog post 강체 역학과 제약 조건에 대해 더 알고 싶다면, 이 블로그 시리즈가 유용함. To dredge up a related oldie-but-goodie memory of blog posts: Gaffer on Games 관련된 오래된 블로그 글을 떠올리게 함. Gaffer on Games Guess this is a Shameless plug but I wrote an interesting program over 12 years ago using even then very old three Js which is not quite the metal but much less abstract than today's tools. 12년 전에 작성한 프로그램을 소개함. Busy Boxes
Hacker News 의견
해커뉴스 댓글 모음 요약
Hey everyone, author here!
Oh! Look, a well-researched, deeply-explained, and interactive post.
One side project I am working on right now is a 2d space shooter I am developing with my son.
I always enjoyed the explanation from the N game: N game tutorial
I had fun building a TypeScript demo about this topic, involving balls that can bounce and collide. I learned a lot.
This is great. This reminds me of Chris Hecker's Rigid Body Dynamics series from GDMag/Gamasutra that I read (checks watch) almost 30 years ago!
Collisions are violations of the pairwise non-intersection constraint between bodies.
If you want to go further and go for rigid body dynamics and constraint, I found that series of blog post very useful: Toptal blog post
To dredge up a related oldie-but-goodie memory of blog posts: Gaffer on Games
Guess this is a Shameless plug but I wrote an interesting program over 12 years ago using even then very old three Js which is not quite the metal but much less abstract than today's tools.