of     1   

br45entei
#63562316Tuesday, February 28, 2012 2:37 AM GMT

Before you post, read this: I know how to script well already. I know what CFrame is. I know how to use game.Workspace.Part.CFrame.lookVector. Ok, what I am asking is how to make a gun that shoots a brick facing the same lookVector as the shooting brick, I can handle the velocity. You don't have to actually post a script, just a helpful tip or script snip is enough.
Fliers11
#63562472Tuesday, February 28, 2012 2:39 AM GMT

Can't you set the bullet as the same CFrame as the shooting brick and then it would both have the same lookVector?
SDuke524
#63565154Tuesday, February 28, 2012 3:25 AM GMT

Velocity=workspace.Part.CFrame.lookVector*speed;
br45entei
#63636679Thursday, March 01, 2012 12:56 AM GMT

Thanks SDuke524, but I said I can handle the velocity, its the lookVector I need. When I try what the others are posting, the 'bullet' does fling out of the 'cannon', but the bullet spins on its central point, rather than facing the same direction. I've tried the body object and failed, so can someone post a tip on lookVector?
SDuke524
#63636789Thursday, March 01, 2012 12:59 AM GMT

Set the RotVelocity to Vector3.new(0,0,0)
br45entei
#63639941Thursday, March 01, 2012 1:53 AM GMT

*Facepalm*... Thanks! I feel silly now.

    of     1