|
| 29 Jul 2012 09:45 PM |
Would this work?
script.Parent.Parent.Equipped:connect(function(mouse) mouse.Move:connect(function() local t = script.Parent.Parent.Parent.Torso; local handle = script.Parent.Parent.Handle handle.CFrame.lookVector = t.CFrame.lookVector t.CFrame = CFrame.new(t.Position, mouse.Hit.p); end); end);
|
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 29 Jul 2012 09:47 PM |
| Depends where the script is placed, and if you remove the semicolons. |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2012 09:47 PM |
semicolons can be there if they so desire
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 29 Jul 2012 09:52 PM |
| Semicolons always give me errors with RBX.Lua, so I just use them with every OTHER language :P |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2012 09:53 PM |
At least you know other languages... D:
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 29 Jul 2012 09:55 PM |
Just the easy ones, still trying to figure out Java. No one seems to know it.. Been trying to rotate the ViewingPlatform for 2 weeks D: |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 29 Jul 2012 09:56 PM |
| I know Java, but I've never heard of "ViewingPlatform". |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2012 09:56 PM |
Lol, why not google it? I might learn others, though can French count? :p
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 29 Jul 2012 09:57 PM |
| If French counts, then so do German and Japanese :P |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 29 Jul 2012 09:57 PM |
I've googled it.. so many hundereds of times.. ALL the links are purple.. @Dro it's used with Java3D. If you can learn Java3D and teach me how to rotate the ViewingPlatform, I give you 5,000 robux. |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2012 09:58 PM |
| Ha nevermind I fixed the problem you guys can have this script if you want to use a Gun that points where your mouse is just put it in a localscript inside the shooting script. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 29 Jul 2012 09:58 PM |
| Oh, I only use Java with JFrame+Canvas+BufferStategy to make games (or learning LWJGL/JMonkeyEngine). |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
| |
|
|
| 29 Jul 2012 10:00 PM |
You know German and Japanese? :o
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 29 Jul 2012 10:00 PM |
LightWeight Java Game Library Allows Java to use OpenGL, OpenAl etc (minecraft uses it) |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 29 Jul 2012 10:01 PM |
I've only heard of OpenGL, not a clue what it is. What is it? :3 |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 29 Jul 2012 10:01 PM |
| @Knight: Learning. German at school for 5 years and self-taught Japanese for 2-3 years, but gonna do a GCSE in it next year :DD When I'm older, I want to move to Japan to teach English :3 |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 29 Jul 2012 10:02 PM |
| @Top: OpenGraphicsLibrary. Used for 3d rendering on lots of platforms (windows, linux, mac, android, playstation, iOS). Like DirectX, but as that was made by Microsoft, that only works on windows, windows phone and xbox. |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 29 Jul 2012 10:03 PM |
| So OpenGL can create 3D objects? :O |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 29 Jul 2012 10:06 PM |
| Not create, but render. You can use a text file loader to load the vertex data (and face and normals and texture) from a 3d .obj model, then put it into a vertex-buffer-object and render it. |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
| |
|
|
| 29 Jul 2012 10:07 PM |
just adding this on:
opengl = open graphics library |
|
|
| Report Abuse |
|
|