mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 05 Jul 2015 12:36 PM |
I've seen several games that have taken three dimensional objects and projected them as two dimensional frames on a gui whilst maintaining the rotation and size.
I already know how to change a gui frame's position based on a three dimensional point, but I don't know how to turn a Vector3 size into a Vector2, and a Vector3 rotation into a single value consisting of degrees.
I am max stump'd ;w; |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 05 Jul 2015 12:39 PM |
Look up clonetroopers 3d gui module
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 05 Jul 2015 12:39 PM |
Its camera magic and clonetroopers 3d module. take this, http://www.roblox.com/games/263921617/3D-gui
while true do the do |
|
|
| Report Abuse |
|
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 05 Jul 2015 12:40 PM |
Oh you have me mistaken, I am trying to convert a Vector3 size, Vector3 pos & Vector3 rotation into a gui frame object, not simply have a 3 dimensional model glued to your screen.
;w; sowwy |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 05 Jul 2015 12:41 PM |
| It is just placing the object in a place where it will be seen at the GUI. |
|
|
| Report Abuse |
|
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
| |
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 05 Jul 2015 12:43 PM |
cheez, example of the game u mentioned? r u talking like radar stuff?
while true do the do |
|
|
| Report Abuse |
|
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 05 Jul 2015 12:43 PM |
| >Phantom Forces by litozinnamon, I am mentioning the bullet effects. |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 05 Jul 2015 12:44 PM |
thats some treyronalds(AxisAngles now) magic
while true do the do |
|
|
| Report Abuse |
|
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 05 Jul 2015 12:46 PM |
All hope is lost, I have stooped to math as my hope, time to make math library.
I hope you're happy numeric Satan. qwq |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 05 Jul 2015 12:54 PM |
hope is coming, i messaged axis
while true do the do |
|
|
| Report Abuse |
|
|
AxisAngle
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 1319 |
|
|
| 05 Jul 2015 12:56 PM |
Just divide the size by the distance the projection travels along the z axis of your camera.
If you have a 2D direction, x by y, the angle can be found with math.atan2(y,-x) |
|
|
| Report Abuse |
|
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 05 Jul 2015 01:00 PM |
o god, it r d axis, praise allah.
hi axis bb <3
I feel special now qwq |
|
|
| Report Abuse |
|
|
|
| 05 Jul 2015 01:28 PM |
| Module 3d v3 by clonetrooper1019 |
|
|
| Report Abuse |
|
|
| |
|