Skip to content
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

Rotate map doesn't rotate directional entities #110

Open
Goggen240 opened this issue Mar 21, 2024 · 2 comments
Open

Rotate map doesn't rotate directional entities #110

Goggen240 opened this issue Mar 21, 2024 · 2 comments

Comments

@Goggen240
Copy link

If you try to rotate map, some moving entities (func_doors, func_rotating for instance) aren't rotated with the level. It's fixable manually for func_rotating by swapping X and Y axis flag, and if the level is rotated 180° by inverting the angle (from 43 to -43 for instance).
I had less luck with func_doors, probably because it says angles is not supported.

@UnrealKaraulov
Copy link
Owner

@Goggen240 latest release has same issue?

@Goggen240
Copy link
Author

@Goggen240 latest release has same issue?

It looks like it's gotten a little better, at least!
I took a quick look at hldemo1.bsp, and I tried rotating clockwise.

The scripted_sequences seem to rotate properly, which I think is new. I first tried without selecting an FGD, and that didn't work so good (rotating the level counter-clockwise, then clockwise twice rotated them into the floor for some reason). The func_door also didn't work right; I checked the entities and it doesn't look like the Angle updated.
20241112134132_1

The func_door_rotating entities still act weird...
20241112131645_1

I assume the problem with func_door_rotating is that the rotation doesn't use angle or angles, it uses the flag Y Axis; depending on which way the level is rotated, it would have to flip from Y Axis to X Axis and/or use the Reverse Dir flag.

One other map worth looking at for testing purposes is c3a2d; the teleporter "petals" opening up is one of very few cases where a func_door_rotating uses the angle value (135) in addition to the Axis tags, so it acts a bit funky. It looks like there's even a bug in NewBSPGuy when you try to view them:
c3a2d_newbspguy

I'll make a New Issue for that last part, to help keep track of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants