menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Finding the End of a Brick
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Finding the End of a Brick
Garfanzo
Join Date: 2015-04-24
Post Count: 742
#228391840
Sunday, December 03, 2017 7:02 PM GMT
If I have a random brick, lets say like (1, 100, 1), and a completely random orientation, how could I find the positions of the end of the brick?
more_horiz
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
xX1StarLord1Xx
Join Date: 2014-03-18
Post Count: 131
#228391885
Sunday, December 03, 2017 7:03 PM GMT
I don't know post it in a forum xD. sorry
more_horiz
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
Garfanzo
Join Date: 2015-04-24
Post Count: 742
#228391986
Sunday, December 03, 2017 7:05 PM GMT
Thats fine, any wiki articles?
more_horiz
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
xX1StarLord1Xx
Join Date: 2014-03-18
Post Count: 131
#228392027
Sunday, December 03, 2017 7:06 PM GMT
I haven't checked try github tho.
more_horiz
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
Seikatsu_Ki
Join Date: 2017-09-23
Post Count: 34
#228392386
Sunday, December 03, 2017 7:14 PM GMT
I didn't try this so this may be not helpful at all, but try doing something like: Pos = Part.CFrame*CFrame.new(0,0,Part.Size.Z/2) Only finds the end of the Z axis tho. That probably didn't help at all.
more_horiz
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
Garfanzo
Join Date: 2015-04-24
Post Count: 742
#228392478
Sunday, December 03, 2017 7:15 PM GMT
Lol yeah, on an individual axis it is easy, but I have no clue how to find it with all three axis'.
more_horiz
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
Weirdraidercs35
Join Date: 2015-05-14
Post Count: 2275
#228392507
Sunday, December 03, 2017 7:16 PM GMT
local endcf = brick.CFrame*CFrame.new(0,0,-brick.Size.Z/2) im a mlg
more_horiz
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
Garfanzo
Join Date: 2015-04-24
Post Count: 742
#228393314
Sunday, December 03, 2017 7:30 PM GMT
Thanks!
more_horiz
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right