|
| 13 Apr 2016 09:39 AM |
| I'd like a bit of help with figuring out how to put your player model rotating in a GUI, using Module3D if it is the best way, if any of you are willing to help. |
|
|
| Report Abuse |
|
| |
Ortron
|
  |
| Joined: 19 Jul 2013 |
| Total Posts: 1297 |
|
|
| 14 Apr 2016 01:04 PM |
have a clone of said player and use it that way?
|
|
|
| Report Abuse |
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 14 Apr 2016 01:36 PM |
There is no efficient way of doing that.
Clone the character and constantly position it in front of the camera and have a BillboardGui or a SurfaceGui behind it. |
|
|
| Report Abuse |
|
|
| 14 Apr 2016 01:49 PM |
| Yeah, no. You are wrong. I want answers for this question from people who know what they are talking about, if you don't mind. |
|
|
| Report Abuse |
|
Ortron
|
  |
| Joined: 19 Jul 2013 |
| Total Posts: 1297 |
|
|
| 14 Apr 2016 01:51 PM |
you're rude when someone tries to help you
|
|
|
| Report Abuse |
|
|
| 14 Apr 2016 01:54 PM |
function cframe.toquaternion(c) local x,y,z, xx,yx,zx, xy,yy,zy, xz,yz,zz =components(c) local tr =xx+yy+zz if tr>2.99999 then return x,y,z,0,0,0,1 elseif tr>-0.99999 then local m =2*(tr+1)^0.5 return x,y,z, (yz-zy)/m, (zx-xz)/m, (xy-yx)/m, m/4 else local qx =xx+yx+zx+1 local qy =xy+yy+zy+1 local qz =xz+yz+zz+1 local m =(qx*qx+qy*qy+qz*qz)^0.5 return x,y,z,qx/m,qy/m,qz/m,0 end end function cframe.power(c,t) local x,y,z, xx,yx,zx, xy,yy,zy, xz,yz,zz =components(c) local tr =xx+yy+zz if tr>2.99999 then return cf(t*x,t*y,t*z) elseif tr>-0.99999 then local m =2*(tr+1)^0.5 local qw =m/4 local th =acos(qw) local s =(1-qw*qw)^0.5 local c =sin(th*t)/s return cf( t*x,t*y,t*z, c*(yz-zy)/m, c*(zx-xz)/m, c*(xy-yx)/m, c*qw+sin(th*(1-t))/s ) else local qx =xx+yx+zx+1 local qy =xy+yy+zy+1 local qz =xz+yz+zz+1 local c =sin(halfpi*t)/(qx*qx+qy*qy+qz*qz)^0.5 return cf( t*x,t*y,t*z, c*qx, c*qy, c*qz, sin(halfpi*(1-t)) ) end end
|
|
|
| Report Abuse |
|
|
| 15 Apr 2016 10:48 AM |
| I am just going to assume all of that is complete nonsense as nothing is ever defined as the player model or GUI. |
|
|
| Report Abuse |
|
narkboy
|
  |
| Joined: 22 Aug 2012 |
| Total Posts: 17 |
|
|
| 01 May 2016 01:39 PM |
@Killpower Why the hell are you so rude?
|
|
|
| Report Abuse |
|
| |
membra
|
  |
| Joined: 14 Oct 2008 |
| Total Posts: 6313 |
|
|
| 02 May 2016 03:28 PM |
Stop being so rude and arrogant to people actually trying to help you.
|
|
|
| Report Abuse |
|
|
| 02 May 2016 03:49 PM |
do why are you so rude? we're expecting you to actually know what YOU are talking about, but it seems you're not using anything. that other guy gave you a whole function, yet you say that it's not useful just because you cant use it.
R$-10 |
|
|
| Report Abuse |
|