Poll:
You do not have permission to vote in this poll.
Total 0 vote(s) 0%
* You voted for this item. [Show Results]

Glitch with velocity
#2
Code:
gamePlayer = script.Parent.Parent.Parent

function firebullet()
Bullet = game.Environment.Bullet
link(script.Parent.MouseDown, firebullet)
gunPosition = script.Parent:getPosition()
gunAngle = script.Parent:getAngle()
newBullet = Bullet:clone()
newBullet.Parent = game.World
newBullet.Position = gunPosition
newBullet.Rotation = gunAngle - 180
newBullet.FixedVelocity.Velocity = -100 --error here
end

link(script.Parent.MouseDown, firebullet)
Reply


Messages In This Thread
Glitch with velocity - by Duck - 12-16-2012, 02:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)