AirController not rotating character to match new UpDirection

While using the ControllerManager system and changing the UpDirection with the active controller being the AirController, the character is not automatically rotated. Meanwhile, the character is rotated while the GroundController is active. This issue happens regardless of humanoid state.

I also seem unable to manually rotate the character through code or mid testing. The AirController is forcing the previous UpDirection.

giphy

2 Likes

If anyone has at least a temporary solution for this that doesn’t involve ditching ControllerManager entirely it would be greatly appreciated.

Hi! Thanks for reporting this issue! Do you mind sharing repro file and instructions on how to reproduce this behavior?

1 Like

Apologies, here is the repro file. To reproduce simply jump into the right blue box as seen in the original post. Walking into the box while grounded produces the expected result.
UpDirectionRepro.rbxl (194.1 KB)

Hi, we think we know what the problem is and will see if we can fix it on our end. In the meantime, I think setting the ControllerManager’s ActiveController to be nil, then setting it back to be the whatever its value was before, should refresh the property and make it work correctly. You should do this right after setting the ControllerManager UpDirection.

I can explain more specifically in dms if that didn’t make sense. Let me know if that works!

2 Likes

I know exactly what you mean. Thank you so much for the temporary solution! I look forward to the potential fix.

The temporary fix also did work, thanks a ton.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.