1
0
mirror of https://projects.caleb-brown.dev/UDRI-XRT/UDRIGEEKCup2024.git synced 2025-01-22 07:08:51 -05:00

HOTFIX: Removed half distance check on MoveFloor component

This commit is contained in:
cbrown 2024-04-22 15:32:35 -04:00
parent c0b0092845
commit e6969d0805
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ namespace MAVRIC.GEEKCup
private void Update()
{
if (Vector3.Distance(startPos, transform.position) >= distance * 0.5f || Vector3.Distance(startPos, transform.position) <= -distance * 0.5f)
if (Vector3.Distance(startPos, transform.position) > distance || Vector3.Distance(startPos, transform.position) < -distance)
{
direction *= -1;
}

View File

@ -2455,7 +2455,7 @@ PrefabInstance:
- target: {fileID: 8619819732418048125, guid: b34cfc8e13e184f39aaabb834d9726eb,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.6
value: 1.1
objectReference: {fileID: 0}
- target: {fileID: 8619819732418048125, guid: b34cfc8e13e184f39aaabb834d9726eb,
type: 3}