jaipack17 / Nature2D

A 2D physics engine for Roblox. Create versatile physics simulations and mechanics with GUIs!
https://jaipack17.github.io/Nature2D/
MIT License
147 stars 8 forks source link

CanRotate property for rigidbodies #30

Closed jammees closed 2 years ago

jammees commented 2 years ago

Description

I would like to request a feature, where you can disable the rotation of rigidbodies.

Alternatives

I have tried to edit the :Render method to do not rotate the frame. It worked, sometimes, however I noticed that the points and the cconstraints still rotated. Resulting in the frame hovering over the ground.

Importance

I feel like this feature isn't that important, however would make everything much more easier with creating player characters.

jaipack17 commented 2 years ago

Seems like a good addition to rigid bodies for more linearity. And you're correct that it'll help a lot in making character controllers. Will be working on this for v0.6.4. Thanks!

jaipack17 commented 2 years ago

Published this feature in v0.6.4.

Related PR - #32