I created two rigid bodies using p2.js when coding a game. The requirement is no elastic force or any depressions existed when impacting which means the rigidity is infinite.
However, it turns out poor even when I set the parameters of options to restitution:0.0, stiffness : Number.MAX_VALUE.
I wonder to ask how to eliminate the elastic force of each other completely?
Hi, there
I created two rigid bodies using p2.js when coding a game. The requirement is no elastic force or any depressions existed when impacting which means the rigidity is infinite.
However, it turns out poor even when I set the parameters of options to restitution:0.0, stiffness : Number.MAX_VALUE.
I wonder to ask how to eliminate the elastic force of each other completely?
Thanks.