New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Angles' property is not used when rotating. #3827
Comments
This is more of a UX bug - it's working as intended, so it's not really a code bug per se, but the current behaviour is obscure/inconvenient for cases when you want to pitch or roll something, since you need to manually add the "angles" key for it to work. We'll need some research on what other editors do + user feedback for this. |
Yeah, it's not quite clear to me what the right thing to do would be here. |
My personal preference would be for TB to, if the |
It's indeed annoying if you have to add "angles" "0 0 0" manually each time. It would be nice to have a different behaviour through a gameconfig entry. For my Doom 3 branch I changed it like this: |
I agree with the proposed solutions, I was confused about this myself too. Perhaps additionally it's possible to mark a property in the fgd format as "always add this value with the default"? Or something in the settings to toggle the preferred rotation policy. |
Having implemented this now, I wonder if this is really what everybody wants. Now, every light that is rotated gets a |
System Information
TrenchBroom master branch at commit b9a6371 on Linux KDE Neon
Expected Behavior
With an entity which has a property called
angles
with typeString
(and a .obj file as model) defined like this:When rotating the entity in TrenchBroom, it should have rotation enabled on all axes and should edit the
angles
property, regardless of whether theangles
property is set to its default value or not.In reality, if the
angles
property of the entity is still at its default value, rotating the entity will cause TB to instead create a newangle
property and only allow rotation on the z-axis. Only after manually editing theangles
value, rotating will work correctly.Steps to Reproduce
Make an entity like described above with an
angles
parameter, turn it in any direction while keepingangles
at default. TB will still create anangle
parameter.Here's a .zip file with a minimal game config. (Set the game's location to
game_location/
)anglestest.zip
The text was updated successfully, but these errors were encountered: