- Home /
Is it required to use 3D physics when a 2D game uses the z axis?
I just started making a 2D game where you can rotate from view. (see image) So the camera can switch from Y and X axis to Z and Y in 2D orthographic mode. The objects in the Z and Y axis are also 2d sprites. I wonder, should I use the 2d physics engine because its actually a 2d game, or is this not possible because im using Z and Y also, if this is possible, how would i change the axis used in 2d?. Or should I use the 3d Physics engine with 2d sprites?
Answer by Bunny83 · May 11, 2015 at 12:18 PM
You can't "changed the axis" in 2d. What you could try is to rotate your whole world so it alighs with the x-y plane. 2d physics is only in the x-y plane. However since everything 2d physics related happens in the x-y plane things "in the depth" might overlap stuff in the front and cause problems. Depending on how an actual level will look like i would suggest using 3d physics since your game is not a 2d game but a 2.5d game.
Your answer
Follow this Question
Related Questions
WebGL Build bugged Colliders 0 Answers
How to use 2D physics for 3D models 3 Answers
Should 2.5D use 3D or 2D settings ? 3 Answers
Objects stuck dragging across floor 1 Answer
Negate a Single Collision 1 Answer