I haven’t really figured out how to approach this, but a question I had was if it is possible to leverage the Physics 2D enging someow in a 3D game - for example, lobbing a ball over a wall or shooting a laser “straight ahead” and seeif in anything is hit. Some sort of “2.5D” module for example.
In the concept of a ball, the physics engine is there only to “bounce” the ball back = we’re still resonsible for drawing in 3D, but getting the “physics” math done seems like it would be simple. Same with a bullet or laser - the “2D” plane would be based on the angle of the projectile, and we’d do the “physics” math based on the 2D plane through the 3D space. Problem I’m hving with that: getting the 2D plane from 3D space :)…I thought of maybe using something like a voxel and having a large “hit/miss” ratio and mapping that to a 2D space.
Does any of this make sense? Could it all be done as a maths library and we “leverage” that for simple 3D effects?