SofaAPAPI-Unity3D [Plugin v1.1] // [Plugin v2.0]

Release date: 2020-08-13

Both releases have the same enhancements and fixes based on v1.0, but they are based on different version of SOFA physics engine:

– SofaAPAPI-Unity3D Plugin v1.1 is based on a custom version of the SOFA Release v19.12 with some fixes in Geomagic plugin (included in v20.06).
– SofaAPAPI-Unity3D Plugin v2.0 is based on SOFA Release v20.06.



  • Core enhancements:
    • Add: Methods to compute UV texture mapping for SOFA visual models.
    • Add: Several Materials and shaders for double side materials and highlighted rendering.
    • Add: Support for non 3D mesh: 1D, 2D and Rigids.
    • Add: Mechanism to propagate key events from Unity to SOFA.
    • Add: Methods to get SOFA simulation FPS.
    • Add: Liver interaction scene with HD mesh resolution.
    • Improve: License checking mechanism.

  • Plugins Enhancements:
    • [Geomagic] Multiple tools simulation is now supported.
    • [Beam Adapter] plugin is now supported.
    • [Electrophysiology] and Heat reaction-diffussion simulation are now supported.
  • Major bug fix:
    • Fix: Several issues in the factory while creating Simulation Node or Primitives objects.
    • Fix: Factory was not registering new components when new SOFA plugins were loaded.
    • Fix: Scene build and export.
    • Fix: SOFA Sphere collision models mapped on Unity object.
    • [Geomagic] Fix: initialisation of the tools at start.

  • Other bug Fix:
    • Fix: Beam UV mapping computation.
    • Fix: basic primitive object creation (Cube, Sphere, Cylidner and plan) as rigid or deformable objects.
    • Fix: LiverInteraction demo scene.

Know bugs


  • [Multi-threading] asset has been disabled.
  • ParticlesModel max number of particles can’t be increased during simulation.
  • SofaVR_API and VR SofaPlayer curved interfaced have been disabled.
  • Texture interpolation has been temporary disabled.
  • Mesh interaction in Unity3D is only working on triangulation.
  • It is not possible to create components directly in Unity3D hierarchy interface and then change its type.
    Only a few set of components are handled. See graph edition
  • It is only possible to set Data value, not to link them between components inside Unity3D.
  • Quad and Hexahedron topology are not yet supported.
  • Building Unity App will copy all SofaUnity scenes and resources. Not only the targeted one.