public static btCollisionWorld GetObjectFromSwigPtr(SWIGTYPE_p_btCollisionWorld ptr)
{
HandleRef handle = SWIGTYPE_p_btCollisionWorld.getCPtr(ptr);
if (handle.Wrapper == null || handle.Handle == IntPtr.Zero)
{
return null;
}
return new btCollisionWorld(handle.Handle, false);
}