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
 

Projectile-raycast instead of beam-raycast

Previous Thread :: Next Thread 
JAG4UR is not online. JAG4UR
Joined: 30 Oct 2010
Total Posts: 547
31 Dec 2016 05:42 PM
I'm a pretty novice scripter, I mainly modify pre-existing scripts and rarely make my own. That doesn't mean I only modify variables.

I'm trying to see if I can implement projectile-raycast into gun scripts which already use beam-raycast. I'm kind of stuck as to where to start lol.

the gun scripts i'm using are https://www.roblox.com/library/543509535/Mandalorian-guns if anyone is curious
Report Abuse
Gentaurg is not online. Gentaurg
Joined: 19 Mar 2011
Total Posts: 8648
31 Dec 2016 05:43 PM
what do you mean by projectile raycast? all raycasts by definition behave like "beams" as far as i know
Report Abuse
JAG4UR is not online. JAG4UR
Joined: 30 Oct 2010
Total Posts: 547
31 Dec 2016 06:37 PM
atleast I'm pretty sure it's called projectile-raycast I might be wrong. I really just mean having a travel time between the ray's first and last position so there's an illusion of a bullet/projectile moving.

i might just be talking nonsense
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
31 Dec 2016 06:38 PM
You just have an object follow the ray.


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
31 Dec 2016 07:14 PM
Cast a short ray, wait a second, cast another one where the first one ended, wait a moment, and repeat. It will then have travel time.


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