Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Need to find a brick's neighbors
« previous
next »
Print
Pages: [
1
]
Author
Topic: Need to find a brick's neighbors (Read 771 times)
innocent
December 16, 2012, 10:12:35 PM
Subject says it all, in what I want to do, I must make a list of all bricks surrounding (touching it) a specific one(except above and below ones).. How could I do this? Thanks to anyone who post back :D!
Ad Bot
Advertisement
Treynolds416
December 17, 2012, 05:38:59 PM
So you want to find all the bricks that are obstructing the side faces of a brick? Seems to me like the easiest course of action is to do a container raycast that takes up the entirety of the faces you want to check, and have it protrude out a small amount so it will find all of the outside bricks
innocent
December 17, 2012, 05:47:30 PM
Alright I'll try this ^^
Brian Smithers
December 17, 2012, 06:11:18 PM
Lol A*
Im writing up a Node System right now.
innocent
December 17, 2012, 06:12:54 PM
That's kinda what I'm trying to do Brian :p
jes00
December 17, 2012, 08:46:39 PM
There are default functions to get the above and below ones but you don't want that.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Need to find a brick's neighbors