Dante-666 / bouncy-ball

hello world game for g3d development and learning
1 stars 0 forks source link

Add more default collision shapes to the Physics Layer #13

Closed Dante-666 closed 4 years ago

Dante-666 commented 4 years ago

We should have more support for the collision shapes like Box, Capsule, Cylinder.

Dante-666 commented 4 years ago

Test out collisions with a mesh first. Do we get #26 with well defined collision shapes?

Dante-666 commented 4 years ago

Capsule doesn't have Any construction, create a class with Anyfile loading capabilities. We can use that to construct physics and graphics common objects in the Scene. #28

Dante-666 commented 4 years ago

Made this work with a Multi-threaded bullet implementation with local bullet build to make debugging easier and get the include files better.

Dante-666 commented 4 years ago

The PlaneShape when loaded from memory, causes some onPose issue in which the frame has nan values apparently. Does this happen with bullet, when we simulate the frame? It may have something to do with that, but check with other primitives first.

Dante-666 commented 4 years ago

Cylinder and Capsule finally cause some problems from their ends, let's try to port the box and the plane today. Investigate what to do with the Capsule and Cylinder, debug Any file routines and how to implement those. #28 is relevant here and adding task to the milestone. Let's close this for now and have separate tasks for others.

Dante-666 commented 4 years ago

Cylinder mostly works now and Capsule is the only problem.