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

Is there a way to use body velocity and Body force to make a ferry go forward?

Asked by 7 years ago

So I have the model how would I use body velocity and force to make it just go straight forward

1 answer

Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

You could check if the ferry is outside of an acceptable range and if so, set a BodyVelocity's velocity to (targetPosition - currentPosition).unit * speed. This would give an acceptable, although not that realistic, motion for the ferry (unrealistic in that it has instantaneous acceleration and deceleration).

0
What if I had a script would it lag? Or could it basically be like moving just a simple part just as a model? ZackVIII 10 — 7y
0
What do you mean? SwardGames 325 — 7y
0
I mean say I wanted to use a script to move a model forward 100 studs would it lag ZackVIII 10 — 7y
0
That depends on the complexity of the model and how efficiently you use the script is. SwardGames 325 — 7y
Ad

Answer this question