I want to find the X, Y, and Z position "boundries" of a part within a library, to compare to a player, so events can be triggered when these boundries are left.
If the part has not been rotated, this is easy enough (Position.Axis - Size.Axis/2 or Position.Axis + Size.Axis/2 for minimums and maximums).
I understand it would probably be lookVector used in this. But I have no idea where to start. Anybody have an idea?
|