|
| 22 Dec 2016 08:13 AM |
kinda like in street fighter how he has that blue orb thing. I want to recreate that on roblox. I have a sphere for the projectile but I can't figure out how to make it like the actual game. This is what I currently have:
game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) local RyuSphere = Instance.new("Part", Character) RyuSphere.Transparency = 0.5 RyuSphere.Name = "RyuSphere" RyuSphere.Material = "Neon" RyuSphere.Size = Vector3.new(2, 2, 2) RyuSphere.Anchored = false RyuSphere.CanCollide = true local Mesh = Instance.new("SpecialMesh", RyuSphere) Mesh.MeshType = "Sphere" --Make part into a ball local Fire = Instance.new("Fire", RyuSphere) --Add fire to the projectile Color3.new(38/255, 234/255, 255/255) --Fire Color Fire.SecondaryColor = Color3.new(38/255, 234/255, 255/255) --Fire Color Fire.Heat = 0 end) end)
Can anyone help me on actually making it fire, with a cooldown of 1.5 seconds please? I'd really appreciate it.
Let's talk about Parallel Universes. |
|
|
| Report Abuse |
|
|
Sublivion
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 2390 |
|
|
| 22 Dec 2016 08:14 AM |
What exactly do you want me to do lol?
-Sublivion |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2016 08:16 AM |
I need help on making it an actual projectile, and I'd prefer it to activate once you press a specific keyboard key.
Let's talk about Parallel Universes. |
|
|
| Report Abuse |
|
|
Sublivion
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 2390 |
|
|
| 22 Dec 2016 08:17 AM |
So like making it hover over one's head?
Just use CFrame.lerp() to make it match the CFrame to an offset of something.
Sorry I'm not an anime guy
-Sublivion |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2016 08:20 AM |
Basically, what I want is for the sphere to shoot out, like in this video:
https://www.youtube.com/watch?v=Jwr3a5a_XFg
It's just passed the 1:10 mark, the 'signature move'
Let's talk about Parallel Universes. |
|
|
| Report Abuse |
|
|
Sublivion
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 2390 |
|
|
| 22 Dec 2016 08:23 AM |
Oh, okay. I get it now
You would just use CFrame.lerp(CFrame, alpha) and calculate the CFrame based on the lookVector and how far you want the ball to go.
I also recommend particle effects
Source: http://wiki.roblox.com/index.php?title=Lerp
-Sublivion |
|
|
| Report Abuse |
|
|
| |
|