Game Development Community

Exceeded max contacts

by David Morrison · in Torque X 3D · 07/09/2009 (6:44 am) · 3 replies

Hello Everyone,

I have just created an xbox build of my game.

It runs fine on the PC but when I run it on the xbox the following assert fails on line 65 of CollisionList3D.cs.

Assert.Fatal(_count < MaxContacts, "Exceeded max contacts");

We have recently added a new set of level geometery to our world and before we did this the game was working fine on the xbox. I tried upping the value of MaxContacts but it still crashed.

Has anyone encountered this bug before?

Dave

#1
07/09/2009 (7:39 am)
Yes we have encountered this issue, it is a limitation as far a i can tell with the engine. It has to do with one object colliding at to many points with another object, or one object colliding with to many other objects in one update loop.

We just gave the object more space so it would collided with less objects per update loop.

Alan
Senior Software Engineer
Perfect Dork Studios
#2
07/10/2009 (6:21 am)
Thanks for the help Alan. I removed part of my new level geometery and it started working :)

Dave
#3
07/10/2009 (4:34 pm)
Does this cause an exception at runtime (release mode) or do you just miss out on events?