public override IntPtr CreateCollider(bool applyOffset) { Matrix4x4 offsetMatrix = Matrix4x4.identity; IntPtr collider = NewtonAPI.NewtonCreateSphere(NewtonWorld.Instance.pWorld, Radius, 0, ref offsetMatrix); NewtonAPI.NewtonCollisionSetScale(collider, Scale.x, Scale.y, Scale.z); return(collider); }