AirController.MaintainLinearMomentum doesn't respect UpDirection when it is disabled

AirControllers always reduce momentum relative to Y axis, even when the ControllerManager.UpDirection is changed to something else.
This makes changing gravity and jump direction to respect the updirection require you to enable MaintainLinearMomentum, and it’s not desirable in every situation to have that be enabled

Reproduction file: MaintainLinearMomentumOff_Repro.rbxl (59.6 KB)

2 Likes

Hi, sorry for the slow response. The ControllerManager’s UpDirection is only meant to control/affect the the orientation of the RootPart and not propagate to any of the Controller-specific behavior like the AirController’s momentum properties. For “custom” momentum reduction, you’ll probably have to use constraints and scripts to mimic what the AirController would do. From experimenting, I think the Plane mode on the LinearVelocity constraint would do the trick, but I’m happy to help if you have questions!

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