RE-SS3D / SS3D

Space Station 3D, another remake of SS13, but with an extra D.
https://ss3d.space/
256 stars 137 forks source link

Correct allowed rotation for placed objects #1310

Closed stilnat closed 11 months ago

stilnat commented 11 months ago

Summary

This introduce the possibility to have custom rotation while placing object with the construction menu. By default, tile objects have four possible directions. I wrote a bunch of scripts that can be added to prefabs to allow for custom rotation. it can limit it or add more possible directions, but possibly also add complex rotation behaviour such as :

North-South-East-West-NorthEast-SouthWest-North....

this is a nonsensical example but just to illustrate the freedom. Currently, there's only one script that allow only checked directions to work.

PR checklist

Testing

Simply try to rotate all the modified prefabs, as liste in the issue closed by this PR.

Networking checklist

Changes

Related issues/PRs

closes https://github.com/RE-SS3D/SS3D/issues/1300