DataDJ
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 854 |
|
|
| 13 Sep 2015 05:05 PM |
So i would like to know how to get a brick show ontop of a GUI. Please dont refer me to a link on a module script. i would just like to know how this is acomplished.
-Dev |
|
|
| Report Abuse |
|
|
DataDJ
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 854 |
|
| |
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 13 Sep 2015 05:25 PM |
You can use: http://wiki.roblox.com/index.php?title=API:Class/Camera/WorldToScreenPoint
To get where at on the screen it is.
Muad'Dib |
|
|
| Report Abuse |
|
|
DataDJ
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 854 |
|
|
| 13 Sep 2015 06:29 PM |
Thats not really telling me how to get it above a gui..
-Dev |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2015 06:30 PM |
| If you mean above a ScreenGui, lol good luck because it's not possible. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 13 Sep 2015 06:34 PM |
Novus, is is perfectly possible to have a 3D part seem like it is above a 2D GUI on the screen.
The API I linked to makes it easy.
That function returns where at on the screen the position is and how far from the screen it is, I have remade BillboardGuis with this.
Muad'Dib |
|
|
| Report Abuse |
|
|
DataDJ
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 854 |
|
|
| 13 Sep 2015 10:14 PM |
But thats just returning the pos, its not telling me how to put it above a screengui.
-Dev |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 13 Sep 2015 10:18 PM |
That, is where you have to use your brain.
Check the position of the brick on the screen > Adjust it's 3D coordinates until it is where you want
Muad'Dib |
|
|
| Report Abuse |
|
|
DataDJ
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 854 |
|
|
| 13 Sep 2015 10:52 PM |
Your not getting the bigger picture here, If i set the position to somewhere on the screen. That wont make it appear ontop of screenGuis.
-Dev |
|
|
| Report Abuse |
|
|