충돌 연산

2022. 1. 14. 18:25DirectX

기존의 마우스클릭한 물체를 드래그해서 이동하는건 테스트에 적절하지 않은것같아서 방식을 바꿨다

드래그해서 드래그 한만큼 물체에 힘을 추가한다

 

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 skills in mathematics, physics and programming are great reasons to attempt such a project;...

gamedevelopment.tutsplus.com

이 문서를 많이 참고했다

아직 갈길이 멀다 힘내자