[ODE] dIASSERT in SAFECONTACT when working with dCylinder2

Vrej Melkonian vmelkon at yahoo.com
Mon Jan 31 06:16:30 MST 2005


Hi,

I think I was seeing the same problem. Something is
passing a high index value obviously. I would have
trace the code.

--- Sergey Beloshitsky <sergey at rostok-games.com.ua>
wrote:

> Hi, All!
> 
> I've compiled ODE with dCylinder2 support but when
> running my program i 
> receive assertion failed in SAFECONTACT function
> // Fetches a contact
> inline dContactGeom* SAFECONTACT(int Flags,
> dContactGeom* Contacts, int 
> Index, int Stride){
> dIASSERT(Index >= 0 && Index < (Flags & 0x0ffff));
> <---- here is the assert
> return ((dContactGeom*)(((char*)Contacts) + (Index *
> Stride)));
> }
> 
> can someone tell me what imust do to disable
> assertion failed messages?
> 
> I noticed that when max_contacts(that passed into
> dCollide function) 
> increased all goes right but not 100% of time, i
> mean that sometimes 
> this assert triggers, where can be the problem?
> 
> Шукай в телефоні мій слід...
> 
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


More information about the ODE mailing list