planck.js icon indicating copy to clipboard operation
planck.js copied to clipboard

Bodies do not rotate on collisions unless density is specified in fixture definition

Open ElnuDev opened this issue 4 years ago • 2 comments

ElnuDev avatar Aug 03 '20 22:08 ElnuDev

Is this a feature or a bug? If it is a feature, it should be documented. What is the default density if it is not specified?

barrybecker4 avatar Mar 26 '22 15:03 barrybecker4

This was already mentioned in Box2D documentation that dynamic body needs density, it is ported here.

We probably can improve docs and make it more clear.

shakiba avatar Aug 23 '23 05:08 shakiba