https://github.com/GarageGames/Torque3D/pull/737 equivalent.