Skip to main content
7 events
when toggle format what by license comment
Feb 15, 2015 at 19:37 vote accept Luis Lavieri
Feb 15, 2015 at 18:51 answer added House timeline score: 1
Feb 15, 2015 at 18:43 comment added Luis Lavieri Don't worry, I am completely new to this. So, I might be doing things in the wrong way. leftSpot, middleSpot, and rightSpot become true whenever the left, middle, or right line touch a wall. I want to get a referenced to that touched wall and calculate the distance between that wall and the sphere
Feb 15, 2015 at 18:41 comment added House I'm sorry that doesn't make a lot of sense to me. Is the wall you want to get the distance to within the distance of the LineCast? Or are you wanting to get a reference to the nearest wall?
Feb 15, 2015 at 18:31 comment added Luis Lavieri I am not passing it to the class as a public variable. I am just using its layermask because I would like the same behavior for every wall
Feb 15, 2015 at 18:29 comment added House Is the wall you're referencing coming into contact with the LineCast? If so, you'll get a reference to the object back when there's a collision.
Feb 15, 2015 at 18:09 history asked Luis Lavieri CC BY-SA 3.0