As usual
This commit is contained in:
parent
abeeda8139
commit
45d7b30b8a
@ -74,7 +74,7 @@ class WormPlacement(
|
|||||||
if (turnChanceXY.sample(random)) {
|
if (turnChanceXY.sample(random)) {
|
||||||
// worm?
|
// worm?
|
||||||
xyTargetRotation += turnRateXY.sample(random)
|
xyTargetRotation += turnRateXY.sample(random)
|
||||||
xzTargetRotation = normalizeAngle(xzTargetRotation)
|
xyTargetRotation = normalizeAngle(xyTargetRotation)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (xzTargetRotation != xzRotation) {
|
if (xzTargetRotation != xzRotation) {
|
||||||
|
Loading…
Reference in New Issue
Block a user