Skip to content

An example on how to calculate bounds of a moved/rotated/scaled object in Unity.

Notifications You must be signed in to change notification settings

o-l-l-i/RotatedBounds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

RotatedBounds

An example on how to calculate bounds of a moved/rotated/scaled object in Unity.

Useful to know if you need to have accurate bounds of an object that is rotating. This data could be used for something like collision calculations.

I just wrote this as a test/reminder snippet for myself.

Viewport visualization of the rotated bounds

RotatedBounds image

About

An example on how to calculate bounds of a moved/rotated/scaled object in Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages