[ODE] dIASSERT in SAFECONTACT when working with dCylinder2

Sergey Beloshitsky sergey at rostok-games.com.ua
Mon Jan 31 17:27:58 MST 2005


yes, but i think there might be more right remedy i think that if there 
had been more collisions than max_contacts/Index/cData.iFlags(it is all 
the same) internal coolision function can just not include them to the 
contact struct


Vrej Melkonian wrote:

>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
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode
>
>.
>
>  
>


-- 
Шукай в телефоні мій слід...



More information about the ODE mailing list