Skip to content
Discussion options

You must be logged in to vote

Hi,

to carve your own model you need to edit the SOFA .scn file and change the mesh. Check SOFA documentation on the scene creation for more help.

Then this example is demonstrating the CarvingManager. Carving is different from cutting, it directly remove element, not cut them. This means you are removing/deleting material from your 3D mesh.

Finally, you need to move the sphere using the SofaObjectController, not the Unity transform.

There are short key to move it:

  • keys 4, 6 for left right
  • keys 2, 8 for backward/frontward
  • keys 5 and 0 for up and down
  • space to carve

like for the LiverInteraction: https://infinytech3d.com/examples-interactions/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by epernod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants