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 » Scripters
Home Search
 

Re: How do you shoot the ray into new locations

Previous Thread :: Next Thread 
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:06 AM
Might sound like a dumb question, but every time I fire the ray, it just goes to the same place, and stacks up since it creates a part.

I'm trying to get it to fire in the direction of the mouse.

Also, I want it to travel to the location, not just teleport there upon firing.


i'll pastebin this.

/gDqu7dBF
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:10 AM
ooh this is a popular post
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:12 AM
help would be highly appreciated..
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:16 AM
bu
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:21 AM
q
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:23 AM
inb4 most bumped thread with no response
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:30 AM
z
Report Abuse
Dame_Lillard is not online. Dame_Lillard
Joined: 04 May 2012
Total Posts: 2458
22 Mar 2017 01:33 AM
i wish i knew how to actually script it but id look into tracking mouse position before the ray fires and make it fire from the mouse's position
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:33 AM
b
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
22 Mar 2017 01:38 AM
https://www.roblox.com/games/564457150/GunPlace
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:42 AM
@chi

i'm creating it from a players hand.
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:43 AM
hand/arm
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:46 AM
bump
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 01:51 AM
v
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
22 Mar 2017 02:00 AM
Stop bumping and rephrase your question.

What do you WANT your script to do?


Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 02:04 AM
y
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 02:06 AM
I want the ray to fire where the mouse is.

Right now, if you fire the event, the ray just goes to the same place.
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 02:11 AM
by
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 02:16 AM
yg
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
22 Mar 2017 02:18 AM
I was going to answer your question but,

A.) you're not being any more specific about your problem, take 60 seconds out of your unimportant day to be >SPECIFIC< from start to finish

and B.) you're still bumping



Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 02:25 AM
How am I not being specific about it?

I can't get any more specific than that.

I press the key, it creates a ray, which then creates a part.

The ray is supposed to follow the mouse, and it doesn't. It always goes to the same place on the baseplate, which is where the part is created.


I'm bumping because I'm not getting answers. If you're not going to help, then get out.
I shall continue bumping for someone hopefully slightly more intelligent than yourself.
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
22 Mar 2017 02:26 AM
This subforum isn't the cancerous soup of hazardous LMaD bio-waste that you're used to.

Bumping is just annoying spam. It doesn't get your thread any more noticed here than it would if you'd've left it for a whole day untouched.

The oldest threads on this subforum's page are from almost 12 hours ago.




Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
22 Mar 2017 02:27 AM
Also, your question is still stupid
You said it yourself: "Might sound like a dumb question"
so obviously you understand your question is dumb

Question: Why do you need a RAY to create a part in the first place?
Answer: You probably don't



Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
22 Mar 2017 02:35 AM
I see now,
"input.KeyDown:connect(function(key)"

You never elaborated on your question because you don't actually know a thing about scripting.

We're not going to fix free models for you. leave.


Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
22 Mar 2017 02:38 AM
lol, surely an fm bud.

I shall continue bumping for someone hopefully slightly more intelligent than yourself(2)

out of the thread kiddo.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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