@Deltakosh you can make changes to the bjs docs, right? But the syntax for setmass is incorrect. I think. Here: PhysicsImpostor - Babylon.js Documentation
Like my reply to you, I tried
because that is what I thought the docs were telling me what to do. I now have it working, as it is actually
object.physicsImpostor.setmass = 1;. I got it figured out now. @trevordev thanks for the explanation it works great.
I you click on the “find examples in playground” link on the doc page the syntax for examples use parenthesis and not the equals sign.
Thanks for the help, and happy fixing.