public VehiclePointLoad[] GetPointLoads(IntPtr body) { Assert.IsTrue(nativeWorld != IntPtr.Zero); int c = PartixDll.GetWireFrameVertexCount(nativeWorld, body); VehiclePointLoad[] a = new VehiclePointLoad[c]; PartixDll.GetPointLoads(nativeWorld, body, a); return(a); }
public Vector3[] GetWireFrameVertices(IntPtr body) { Assert.IsTrue(nativeWorld != IntPtr.Zero); int c = PartixDll.GetWireFrameVertexCount(nativeWorld, body); Vector3[] a = new Vector3[c]; PartixDll.GetWireFrameVertices(nativeWorld, body, a); return(a); }