www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: gamenewer on April 29, 2015, 04:06:39 am
-
Hi Egon, If checkForCollisionSpherical method can cause GC_CONCURRENT, I called checkForCollisionSpherical in onDrawFrame, the GC_CONCURRENT happend, when reomve checkForCollisionSpherical , it's ok . If there are some ways to resovle this problem? Thanks !
-
All collision check methods are creating a small amount of objects, which will be collected after some time once they went out of scope. The amount of objects being created has already been reduced to the bare mininum over the years. And a concurrent gc usually isn't a problem, because it runs in parallel on another core. You might want to give ellipsoid collision detection a try instead if that feasible. Maybe it creates less objects, but I actually don't think so.