BodyVelocity.Velocity Not Working

hi guys

how can I make it so that it will be vector3?

I used fireball.CFrame to put the fireball above the player but when I put it at bv.Velocity as the position where it starts it errors as it needs vector 3

and when I changed it to vector3 the fireball will fall instead of staying in the air

1 Like

Well, it’s erroring because you put a CFrame instead of a Vector3 into CFrame.new(), so to fix it you will need to well convert it into a vector3:

bv.Velocity = fireball.CFrame.LookVector*100

For the other issue where the fireball is falling well that’s gravity. To remove gravity I believe you can simply make the fireball massless:

fireball.Massless = true

Otherwise you might want to look at adding an antigravity force using BodyForce example code should be there.

1 Like