Jump to content

[HELP] createColRectangle


ViRuZGamiing

Recommended Posts

In order to calculate the width and height to use with createColRectangle, you need to subtract the x and y coordinates of your points from each other like this:
width = math.abs(x1-x2) 
height = math.abs(y1-y2) 

Ok. but if i wanna make it from Point1 to Point2 : where Point1 is with 45 degree rotation from Point2. It's impossible to do it with Rectangel.

Link to comment

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...