Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SM64] Fixed Bug In Water Box Exports #358

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed bug in water box
  • Loading branch information
scut committed Jun 7, 2024
commit cd8afc3092114e3c1791d86f21b71efb54154d63
2 changes: 1 addition & 1 deletion fast64_internal/sm64/sm64_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,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
Loading