| |
|
Emess
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 13331 |
|
|
| 09 Mar 2012 06:59 PM |
| Raycasting is the term for guns that shoot out laser, not some weird nerdy stuff. |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
| |
|
| |
|
1Ra
|
  |
| Joined: 02 May 2010 |
| Total Posts: 2400 |
|
|
| 09 Mar 2012 07:52 PM |
@ tenal hypocritical against MeBilly. _
If your talking roblox, then you can use :FindPartOnRay(). |
|
|
| Report Abuse |
|
|
| |
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 09 Mar 2012 08:56 PM |
| Depending on the number of obsticales, search all the possible targets then algebraically solve for if there's an intersection. Return the one with the closest intersection. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
| |
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
| |
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 10 Mar 2012 10:47 PM |
| Recreating 3D raycasting on roblox would be ugly. |
|
|
| Report Abuse |
|
|
|
| 11 Mar 2012 12:10 PM |
@nate
no it wouldnt.
Its easy for blocks and easy for spheres but wedges and such are too complexey for me o,e |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 11 Mar 2012 12:20 PM |
Well, it's not as easy as just creating a part and using the .Touched event to see if anything hit it.
...If it was, well, that would be weird. |
|
|
| Report Abuse |
|
|