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

Why does the velocity not move the model?

Asked by 9 years ago

So I'm trying to animate this aircraft part. It's a model named Gear. Here's my script:

gear = game.Workspace.Gear

function GearUp()
    wait(3)
    gear.Velocity = Vector3.new"0,0,5"
    wait(3)
    gear.Velocity = Vector3.new"0,0,0"
    wait(3)
    gear.Velocity = Vector3.new"0,0,5"
    wait(3)
end 

I was messing with the velocity just so it would rotate someway but it's not. Any help?

1 answer

Log in to vote
0
Answered by 9 years ago

Vector3.new(0,0,0) not Vector3.new"0,0,0"

All you did was try to make the velocity a string value

0
Thanks for that but I still didn't move. VirtualFlying 55 — 9y
Ad

Answer this question