Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

im shooting a projectile arrow but the arrow will not face the pointy direction?how do I do this?

Asked by
Tizzel40 243 Moderation Voter
5 years ago

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

local char = plr.Character or plr.CharacterAdded:wait()

local hum = char:WaitForChild("Humanoid")


local iceball =  game.ServerStorage:WaitForChild("IceBall"):Clone()


iceball.Parent = game.Workspace

iceball.CFrame = script.Parent.Parent.Parent:FindFirstChild("icestaffhead").CFrame

local bv = Instance.new("BodyVelocity",iceball)

bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)



iceball.CFrame = CFrame.new(iceball.Position,mousehit.p)





bv.Velocity = iceball.CFrame.LookVector * 50

~~~~~~~~~~~~~~~~~

0
could you fix your code block? I honestly don't know how people do that SteamG00B 1633 — 5y
0
Also where is the arrow? Are you sure you're looking at the right script because I don't see anything relating to a bow or an arrow. SteamG00B 1633 — 5y
0
What do you mean it doesn't "face the pointy direction"? Does it always point in the same direction, or does it change direction but it's always 90 degrees off or something? Or does it just point around randomly? fredfishy 833 — 5y
0
for fo all I for got to change the variables from iceball to "arrow" and then when shot it just shoots side ways or every other way but the arrow facing forward Tizzel40 243 — 5y
View all comments (2 more)
0
Is the angle it's incorrect by consistent? fredfishy 833 — 5y
0
"pointy direction" lmao Zenith_Lord 93 — 5y

Answer this question