Problem after changing mass of parent impostor

Problem after changing mass of parent impostor.

I am creating an object from Compound Bodies

By some logic, I need to set the mass of the entire object to zero so that the object does not move from collisions.

After changing the parent mass mesh to zero, the child mesh (the impostor) stops responding to collisions.

I created a demo - in order to give an impulse to the sphere, you need to click on it

cc @RaananW or @Cedric

You did not use the correct way for updating the mass:

Dynamic Texture Example | Babylon.js Playground (babylonjs-playground.com)

2 Likes

Or a variant using the plugin:

Dynamic Texture Example | Babylon.js Playground (babylonjs-playground.com)

2 Likes

thank you very much!

1 Like