Gamebop / physics

Physics components for PlayCanvas
https://gamebop.github.io/docs/
3 stars 1 forks source link

Allow combining dofs #44

Closed LeXXik closed 5 months ago

LeXXik commented 5 months ago

Fixes: #42

PR allows to combine different degrees of freedom together. For example:

entity.body.allowedDOFs = DOF_TRANSLATION_X | DOF_TRANSLATION_Z | DOF_ROTATION_Y;