I'm making a plane that drops a bomb onto the map, and I want the bomb to be facing the direction of the plane's "bombpart" which is the part attached to plane in which the bombs CFrame is set to. It is not positioning to this part anymore once I added LookVector. I know this is something that can be easily fixed, so please tell me how to use it properly.
local bomb = coroutine.wrap(function()
for i = 1, bombnumber do
local b = game.ServerStorage.bomb:Clone()
b.Parent = game.Workspace
b.CFrame=CFrame.new(script.Parent.bombpart.CFrame.LookVector)
b.Velocity = Vector3.new(0,0,speed)
wait(0.2)
end
end)
--Line 5 doesn't function properly.

1 comment
i dont know anything about lookvector, but it doesnt look like you identified the 2nd object that the plane is supposed to look at? ill go look back at "Understanding CFrames" because im kinda stuck myself...