|
| 17 Dec 2013 05:52 PM |
| I was wondering how I could calculate where an object is in 3D space and translate that to 2D space by putting a GUI over top of it. |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 17 Dec 2013 05:56 PM |
| You could just ignore the Z Posistion of the brick and take it and put it as the GUis posistion. But that might take some calculations beucase they arnt the same. |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 05:59 PM |
matt thats like totally impractical |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 17 Dec 2013 06:02 PM |
Do you have any other ideas? look at what I mean
part Posistion = (1,2,3) --Some stuff to remove the Z part. y = 2 x = 1
Gui possition = (0,y,0,x)
Somthing like that..
|
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 06:07 PM |
| I mean that's totally static. I'm trying to get where the 3D object is on the screen. If it's off-screen, that wont work |
|
|
| Report Abuse |
|
|
ColdSmoke
|
  |
| Joined: 02 Jan 2012 |
| Total Posts: 5784 |
|
|
| 17 Dec 2013 06:46 PM |
billboard guis as reference points maybe?
otherwise if that doesnt work then theres no way |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 06:47 PM |
@dog, I would assume you are trying to replicate Oysi's camera?
"U BROKE THE TV U IDIOT!" - CeaselessSoul |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 06:48 PM |
Who's Oysi? I'm making an HUD I can market to war groups. |
|
|
| Report Abuse |
|
|
ColdSmoke
|
  |
| Joined: 02 Jan 2012 |
| Total Posts: 5784 |
|
|
| 17 Dec 2013 06:49 PM |
| oysi is one of the best renowned scriptors on this site |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 06:49 PM |
http://www.roblox.com/Camera-V3-Crepuscular-rays-place?id=55703472
That, look at it and see if that's what you mean. I need an idea of what you're trying to do.
"U BROKE THE TV U IDIOT!" - CeaselessSoul |
|
|
| Report Abuse |
|
|
ColdSmoke
|
  |
| Joined: 02 Jan 2012 |
| Total Posts: 5784 |
|
|
| 17 Dec 2013 06:52 PM |
that on a surface gui
would be amazing
jailbreak games for days |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 06:59 PM |
| ^ it is going to be on a surface GUI (A visor) attached to a helmet. |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 07:02 PM |
@Ceaseless
I want A GUI to come up on the screen where a 3D object is. For example, a GUI on the screen would be covering a part no matter how your camera is oriented. Do you understand? |
|
|
| Report Abuse |
|
|
zekey101
|
  |
| Joined: 08 Aug 2011 |
| Total Posts: 2499 |
|
|
| 17 Dec 2013 07:03 PM |
| and you can click things and see them on your visor correct? |
|
|
| Report Abuse |
|
|
zekey101
|
  |
| Joined: 08 Aug 2011 |
| Total Posts: 2499 |
|
|
| 17 Dec 2013 07:04 PM |
| They were talking about adding a way to apply Guis to parts on the live video 2 weeks ago. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 17 Dec 2013 07:05 PM |
| not gonna happen oysi used a hacky way. it's nearly impossible to do that and there's no practical way to do so. |
|
|
| Report Abuse |
|
|
zekey101
|
  |
| Joined: 08 Aug 2011 |
| Total Posts: 2499 |
|
| |
|
|
| 17 Dec 2013 07:06 PM |
| ^ Probably not, but I do think I will add night-vision as well as 'thermal' vision. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
| |
|
|
| 17 Dec 2013 07:10 PM |
Why? This is a scripting question, and people are asking questions.
And yes, this is possible. I just don't know how to do it. |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 07:13 PM |
| Also, lol, it is possible. It is done in the game 'ROBLOX Battle' when you pick up coins. |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 07:14 PM |
Roblox battle uses billboard GUIs...
"Ladies and gentlemen, take my advice. Pull down your pants and slide on the ice" |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 07:15 PM |
Plus billboard GUIs do exactly what you want...
"Ladies and gentlemen, take my advice. Pull down your pants and slide on the ice" |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 07:16 PM |
| Are you sure? I'm positive that coin GUI going across the screen is, in fact, a ScreenGUI. |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2013 07:17 PM |
@Trapper
If BillboardGUIs did exactly what I wanted I would use BillboardGUIs. |
|
|
| Report Abuse |
|
|