Exemplo n.º 1
0
        public IntPtr AddSphereCollider(PxSphereCollider sphere)
        {
            IntPtr spherePtr = PhysXDll.AddSphereCollider(this.scenePtr, sphere.ColliderData, sphere.IsDynamic);

            this.Colliders.Add(spherePtr, sphere);
            return(spherePtr);
        }