Varneon/VUdon-Noclip

[0.2.0-beta.2 | Desktop] Movement inputs aren't registered if they were pressed before noclip was enabled

Varneon opened this issue · 1 comments

Inputs are currently only registered if the noclip is enabled.

Early returns currently in place have only marginal benefits in terms of performance and removal of them might be the easiest solution:

public override void InputMoveHorizontal(float value, UdonInputEventArgs args)
{
if (noclipEnabled)
{
inputMoveHorizontal = value;
}
}

public override void InputMoveVertical(float value, UdonInputEventArgs args)
{
if (noclipEnabled)
{
inputMoveVertical = value;
}
}

This issue was fixed in #14