Havok: How to set the mass to 0 on collission?

I am currently pursuing an interesting topic: wrapping objects in a skin to create erodynamic shapes.

I wrap the objects with a sphere and let them shrink, but I would like to freeze the points at this point during a collision.

How can I do that?

Collision Finished mass | Babylon.js Playground (babylonjs-playground.com)

I found the solution in this example:

GizmoPhysics | Babylon.js Playground (babylonjs.com)