Jump to content

Recommended Posts

Posted

The AABB class defines an axis-aligned bounding box.

 

What means axis-aligned ? alignes to axis world or aligned to local axis of the box ?

I mean if the box rotates, so the axis of the bouding box AABB will rotate also ?

 

 

Same for :

 

AABB::IntersectsAABB

 

 

This function performs an intersection test between two AABBs.

 

This means detects perfect collision even if the boxes are rotating in space ?

And what is overlap parameter function ?

Stop toying and make games

Posted

Axis aligned means they won't rotate, which makes things faster to calculate.

Normally they are aligned wo the world axis, but who knows what Josh implemented.

(Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI)

Posted

It's useless; anyone can program non object aligned collision.

I used another engine having box axis object collision.

 

Our own solution is physic system with LE3 , what is lacking is : EnterCollison, ExitCollision functions.

 

Actually it is possible to know when two boxes physically collides ?

Stop toying and make games

Posted

This isn't useless - AABB intersection is an inexpensive check because the geometry is simple and no transformations have to be done. If it fails, the objects won't collide and you're done. If it succeeds you can continue doing (more expensive) checks using tighter, object-aligned volumes.

 

I haven't used it, but looking at the docs I would guess that Entity::CollisionHook will let you know when two objects collide physically and react to that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...