Mochi.PhysX icon indicating copy to clipboard operation
Mochi.PhysX copied to clipboard

Port C++ snippets to C#

Open PathogenDavid opened this issue 2 years ago • 0 comments

The PhysX SDK contains a good number of small mostly-self-contained examples called snippets. These snippets are quite useful for understanding how to interact with PhysX and it'd be helpful to port them to C# both to test Mochi.PhysX as well as serve as an example of how things might be different between C++ and C#.

It is a non-goal to make these snippets C#-friendly. They should stay as close to the C++ snippets as possible in order to make it easier to compare and contrast them.

  • [x] SnippetArticulation
  • [x] SnippetBVHStructure
  • [ ] SnippetContactModification
  • [ ] SnippetContactReport
  • [ ] SnippetContactReportCCD
  • [ ] SnippetConvert
  • [ ] SnippetConvexMeshCreate
  • [ ] SnippetCustomJoint
  • [ ] SnippetCustomProfiler
  • [x] SnippetDeformableMesh
  • [x] ~~SnippetDelayLoadHook~~
    • This snippet is not relevant when using Mochi.PhysX since we build all of PhysX into a single DLL.
  • [x] SnippetHelloGRB -- GRB stands for "GPU Rigid Bodies". IE: This is the CUDA snippet.
  • [x] SnippetHelloWorld
  • [ ] SnippetImmediateArticulation
  • [ ] SnippetImmediateMode
  • [x] SnippetJoint
  • [ ] SnippetLoadCollection
  • [ ] SnippetMBP
  • [ ] SnippetMultiThreading
  • [ ] SnippetNestedScene
  • [ ] SnippetPrunerSerialization
  • [ ] SnippetRaycastCCD
  • [ ] SnippetSerialization
  • [ ] SnippetSplitFetchResults
  • [x] SnippetSplitSim
  • [ ] SnippetStepper
  • [ ] SnippetToleranceScale
  • [ ] SnippetTriangleMeshCreate
  • [x] SnippetTriggers
  • [x] SnippetVehicle4W
  • [x] SnippetVehicleContactMod
  • [ ] SnippetVehicleMultiThreading
  • [x] SnippetVehicleNoDrive
  • [x] SnippetVehicleScale
  • [x] SnippetVehicleTank

PathogenDavid avatar May 06 '22 08:05 PathogenDavid