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

How to make a bullet pause and resume?

Asked by 6 years ago

Hi guys, today I have a strange concept I need help with. How would I make a bullet part pause in mid air if a variable equals false then move at the same velocity in the same direction when the var equals true again? Something like this:

If bulletMove = false then
saveBullet() // Save the bullets location and velocity
if bulletMove = true then 
loadBullet() // Make the bullet move again

Thanks so much for your help in advance. If you don't want to help me please don't waste your time commenting and telling me. So thanks to people with helpful comments!

1
My first thought it to anchor / unanchor the bullet. Not applicable? cabbler 1942 — 6y
0
It would need to have its velecity so when un anchored it would go like normal. ChainMailZombie 0 — 6y
0
Save the velocity, then anchor the part. When unanchored, set the parts velocity to the saved velocity. ee0w 458 — 6y
0
How do I save velocity? ChainMailZombie 0 — 6y

Answer this question