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:
parent
c0b0092845
commit
e6969d0805
@ -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;
|
||||
}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user