How do i approach this collision model?
- by PeeS
this is the game level prototype i have already implemented. It has few objects per room to allow me to finally add some collision detection/response code into it.
VIDEO
As you can probably see, every object inside has it's own AABB, even the room itself has AABB.
So a player is like 'inside the Room AABB'.
My player will be exactly inside the room, so he would have to collide correctly with those AABBs, so that when he hits any of those objects inside he get's a proper collision response from those AABB's.
Now i would like to hear from you what kind of collision approach should i choose in here?
How do i approach this kind of stuff:
AABB to AABB collision detection then when this is positive go with AABB - Tri to find proper plane normal and calculate response ?
AABB to AABB then when positive go with AABB - AABB Side check to find proper proper plane normal and calculate response?
Anything else?
How do you do this ?
Many thanks.