Help plz

i was wondering if i needed to do anything special if i were creating a subclass of the collision shape classes so that it would still create the collision shapes or if i would just have to extend it.

No, you are “stuck” with the provided collision shapes. The whole physics simulation has to be implemented for the additional shapes. Also, extending stuff is generally not a good idea if you can avoid it.

You can use a HullCollisionShape and give it some vertices or a mesh to create almost any shape. Apart from that you can also use CompoundCollisionShape to combine multiple basic shapes to a bigger one.



P.S. The title of your thread is an immensely bad choice. Please make the title clear so that others looking for similar problems can find the answers given.

2 Likes