Skip to content

Commit

Permalink
fixed bug in water box (#358)
Browse files Browse the repository at this point in the history
Co-authored-by: scut <scut>
  • Loading branch information
Scut authored Jun 11, 2024
1 parent 3baa214 commit 8767823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast64_internal/sm64/sm64_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ def process_sm64_objects(obj, area, rootMatrix, transformMatrix, specialsOnly):
)
)
elif obj.sm64_obj_type == "Water Box":
checkIdentityRotation(obj, rotation, False)
checkIdentityRotation(obj, rotation.to_quaternion(), False)
area.water_boxes.append(CollisionWaterBox(obj.waterBoxType, translation, scale, obj.empty_display_size))
else:
if obj.sm64_obj_type == "Object":
Expand Down

0 comments on commit 8767823

Please sign in to comment.