Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Getting a Certain Axis Size of a Part?

Asked by 10 years ago

I'm trying to make a fire heat the same as how tall the object is. Also doing the same thing with fire size for area of the objects top face if thats possible please explain that too.

1 answer

Log in to vote
2
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
10 years ago

The Size of a part if a Vector3. Vector3's have x, y, and z properties referring to their three components. The height is the y component.

Note that if the part is rotated, then the "top" isn't necessarily the top surface.

Ad

Answer this question