First collision event

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
ToooBig
Posts: 2
Joined: Tue Oct 07, 2014 10:19 pm

First collision event

Post by ToooBig »

Hi!
I am trying to make a prototype of the game and i'm using BEPUphysics. But i have one problem: after first collision event I have some delay for about 0.5 sec. There are no other delays further. And i dont know how to fix it. Any ideas?
Thanks.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: First collision event

Post by Norbo »

Sounds like either lazy initialization of data (previously untouched static resource pools are a likely culprit) or JIT. This thread goes over some ways to force the work at load time: viewtopic.php?f=4&t=1769
ToooBig
Posts: 2
Joined: Tue Oct 07, 2014 10:19 pm

Re: First collision event

Post by ToooBig »

Forsing JIT compilation solved the problem.
Thanks for such fast and helpful answer!
Post Reply