generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: 3D > 2D and Vice Versa?

Previous Thread :: Next Thread 
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
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 is not online. 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
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
17 Dec 2013 05:59 PM
matt thats like
totally impractical
Report Abuse
kingmatt2 is not online. 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
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
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 is not online. 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
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
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
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
17 Dec 2013 06:48 PM
Who's Oysi?
I'm making an HUD I can market to war groups.
Report Abuse
ColdSmoke is not online. 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
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
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 is not online. 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
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
17 Dec 2013 06:59 PM
^ it is going to be on a surface GUI (A visor) attached to a helmet.
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
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 is not online. 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 is not online. 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 is not online. 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 is not online. zekey101
Joined: 08 Aug 2011
Total Posts: 2499
17 Dec 2013 07:06 PM
bloxcast
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
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 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
17 Dec 2013 07:09 PM
go to game design please
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
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
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
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
Trapper4O77 is not online. Trapper4O77
Joined: 03 Aug 2011
Total Posts: 5648
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
Trapper4O77 is not online. Trapper4O77
Joined: 03 Aug 2011
Total Posts: 5648
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
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
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
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
17 Dec 2013 07:17 PM
@Trapper

If BillboardGUIs did exactly what I wanted I would use BillboardGUIs.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image