How do i approach this collision model?
Posted
by
PeeS
on Game Development
See other posts from Game Development
or by PeeS
Published on 2012-03-24T09:53:07Z
Indexed on
2012/03/24
11:39 UTC
Read the original article
Hit count: 270
collision-detection
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.
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.
© Game Development or respective owner