Jump to content
Search Community

getBounds help

crunchie test
Moderator Tag

Recommended Posts

I am using a slider component to scale my transform item, however my (poor) calculation as to what max width and height could be for the item is flawed and the max width or height ends up bigger than it should be when i set the slider to max.

 

I believe that i need to compare the transform bounds to the items bounds and work it out from there. Unfortunately, i am not well versed in geometry and was hoping that someone could shed some light on how to do this based on the current rotation / scale of the transform item.

 

Thanks very much,

 

Dave

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...