Skip to content

Conversation

@kirill-mapper
Copy link
Contributor

@kirill-mapper kirill-mapper commented Apr 19, 2025

Fixed bounding box calculation to properly account for object rotation. The original and previous #324 solution had two issues:

  • Incorrect rotation direction - fixed by using inverted quaternion (Quaternion.Invert)
  • Redundant operations with bounding box center - return simplified transformation formula to standard "rotation + translation"

Now the bounding box correctly considers object rotation in space:

изображение

ItzDabbzz added a commit to ItzDabbzz/CodeWalker that referenced this pull request May 16, 2025
dolutattoo pushed a commit to dolutattoo/CodeWalker that referenced this pull request Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant