You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Component/CircleCollider.jl
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ module CircleColliderModule
83
83
ifCheckIfResting(this, colliders[i])[1] ==true&&length(this.currentRests) >0&&!(colliders[i] in this.currentRests)
84
84
# if this collider isn't already in the list of current rests, check if it is on the same Y level and the same size as any of the current rests, if it is, then add it to current rests
85
85
for j ineachindex(this.currentRests)
86
-
if this.currentRests[j].getParent().transform.getPosition().y == colliders[i].getParent().transform.getPosition().y && this.currentRests[j].getSize().y == colliders[i].getSize().y
86
+
if this.currentRests[j].getParent().transform.position.y == colliders[i].getParent().transform.position.y && this.currentRests[j].getSize().y == colliders[i].getSize().y
ifCheckIfResting(this, collider)[1] ==true&&length(this.currentRests) >0&&!(collider in this.currentRests)
132
133
# if this collider isn't already in the list of current rests, check if it is on the same Y level and the same size as any of the current rests, if it is, then add it to current rests
133
134
for j ineachindex(this.currentRests)
134
-
if this.currentRests[j].getParent().transform.getPosition().y == collider.getParent().transform.getPosition().y && this.currentRests[j].getSize().y == collider.getSize().y
135
+
if this.currentRests[j].getParent().transform.position.y == collider.getParent().transform.position.y && this.currentRests[j].getSize().y == collider.getSize().y
0 commit comments