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