2D Physics in a 3D World

Post Reply
User avatar
Administrator
Site Admin
Posts: 1725
Joined: Thu Mar 22, 2018 10:19 am

2D Physics in a 3D World

Post by Administrator » Mon Sep 21, 2020 10:29 am

Why might one use a 2d physics engine in a 3d world, good question. First off, is the speed. there is one less axis which vastly increases the speed when checking. Secondly, you can offer a 2.5d effect, you may wish to use multiple 2d physics worlds, lets say, on the z axis. Where players can move from a axis to another collision detection world. Also the player can have some ability to move the 3d camera, or move it slightly to the positive or negative axis.

https://www.inkfood.com/2d-physics-in-3d-space/

Post Reply