If you have the Source version, you can change this behavior by editing out the following code segments under ControlsScript.pushOpponentsAway:
if (opControlsScript.worldTransform.position.x >= UFE.config.selectedStage._rightBoundary)
opControlsScript.worldTransform.Translate(new FPVector(.1 * -pushForce, 0, 0));
else if (opControlsScript.worldTransform.position.x <= UFE.config.selectedStage._leftBoundary)
opControlsScript.worldTransform.Translate(new FPVector(.1 * pushForce, 0, 0));
and:
if (opControlsScript.worldTransform.position.x >= UFE.config.selectedStage._rightBoundary)
opControlsScript.worldTransform.Translate(new FPVector(.5 * -pushForce, 0, 0));else if (opControlsScript.worldTransform.position.x <= UFE.config.selectedStage._leftBoundary)
opControlsScript.worldTransform.Translate(new FPVector(.5 * pushForce, 0, 0));
Comment or remove these out to achieve the desired behavior.
Like UFE? Please rate and review us on the
Asset Store!
Questions about the Forum? Check out our
Karma FAQ.
Don't forget to check our
discord channel.