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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 31 Dec 2016 06:38 PM |
You just have an object follow the ray.
|
|
|
| Report Abuse |
|
|
|
| 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 |
|
|