Michael Greer

Results 2 issues of Michael Greer

Trying to find the simplest way to load/save a single collision shape, code below. Saving: ` DefaultSerializer serializer = new DefaultSerializer(); serializer.StartSerialization(); convexShape.SerializeSingleShape(serializer); serializer.FinishSerialization(); byte[] data = new byte[serializer.CurrentBufferSize]; System.Runtime.InteropServices.Marshal.Copy(serializer.BufferPointer,...

Looking through the code it looks like caching the separating axis found by GJK between calls is meant to be a speed improvement, but the cached value is just reset...