Earliest Point to Cull Collision Tests

thePoet
Posts: 17
Joined: Tue Apr 15, 2008 4:14 pm

Earliest Point to Cull Collision Tests

Post by thePoet »

What is the earliest point to hand cull collisions. Right now I am overriding NeedsCollision, and deciding whether collision can occur (I need a more complex test that the default mask). Is there an earlier point in the sollision making process to cull a pair from being tested for collision?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Earliest Point to Cull Collision Tests

Post by Erwin Coumans »

thePoet wrote:What is the earliest point to hand cull collisions. Right now I am overriding NeedsCollision, and deciding whether collision can occur (I need a more complex test that the default mask). Is there an earlier point in the sollision making process to cull a pair from being tested for collision?
NeedsCollision is extremely early in the pipeline (broadphase collision detection, before adding the pair to the pair cache). There is no earlier point than that.

Hope that helps,
Erwin