Example #1
0
        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);
        }
Example #2
0
        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);
        }