Allow for more precise flexible instance movement
This commit is contained in:
@@ -71,8 +71,6 @@ export class FlexibleInstanceMove {
|
|||||||
if (playerMovement.isSneaking())
|
if (playerMovement.isSneaking())
|
||||||
velocity.y -= 1;
|
velocity.y -= 1;
|
||||||
|
|
||||||
if (velocity.length > 0)
|
|
||||||
velocity = velocity.normalized;
|
|
||||||
return velocity.multiply(speedFactor);
|
return velocity.multiply(speedFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user