Directx11(2)
-
충돌 연산
기존의 마우스클릭한 물체를 드래그해서 이동하는건 테스트에 적절하지 않은것같아서 방식을 바꿨다 드래그해서 드래그 한만큼 물체에 힘을 추가한다 https://gamedevelopment.tutsplus.com/tutorials/how-to-create-a-custom-2d-physics-engine-the-basics-and-impulse-resolution--gamedev-6331 How to Create a Custom 2D Physics Engine: The Basics and Impulse Resolution There are many reasons you might want to create a custom physics engine: first, learning and honing your ski..
2022.01.14 -
Separating Axis Theorem(SAT)충돌 처리 구현(2_MTV)
충돌여부를 구한 후 충돌했다면 Minimum Translation Vector(MTV)를 구해서 이동시켜줬다 SAT구현이후 계속 물리공부를 하고있는데 진전이 안보이는 것 같아서 뭐든 해보자 라는 생각으로 구현했다 지금 상태는 막막하다 많은 정보를 얻은것같은데 합치질 못하겠다 너무 간단한 프로젝트로 생각한게 아닌가 싶다 이럴때일수록 천천히 기본지식부터 돌아보자
2022.01.14