[Resolved] Move an object toward a point at a constant speed

Ok, I know this has been asked, and I also know that it was resolved, but I can’t find it in the search. It brings me to the recent posts, and I have no earthly idea where it is.

So basically I want to find a point and move an object toward it, going at a constant speed no matter the position of the point. How is that done?

I also would like to know if there would be a way to affect the speed of it, like with a variable that you can set.

quinc [import]uid: 147322 topic_id: 30053 reply_id: 330053[/import]

Transition is a good idea but you’d want to figure out vector and distance of line and use that to make sure speed was always constant.

That said, were you using forum search or Google search? Google search looks to turn up a few good threads :slight_smile: [import]uid: 52491 topic_id: 30053 reply_id: 120433[/import]

Great suggestion for the Google search! I was using the forum search. Resolved. Thanks Peach! [import]uid: 147322 topic_id: 30053 reply_id: 120473[/import]

No worries; we know our search/forum needs some work and in the meantime I always suggest using Google :wink:

Marking as resolved, thank you for updating! [import]uid: 52491 topic_id: 30053 reply_id: 120557[/import]

How might I do this with physics? [import]uid: 147322 topic_id: 30053 reply_id: 120914[/import]

You could, I guess, set and get linearVelocity to ensure speed was consistent then set to 0,0 once at the desired location - or by using a timer I suppose; if you know the speed and spot you could calculate required time to get there. [import]uid: 52491 topic_id: 30053 reply_id: 120930[/import]

Transition is a good idea but you’d want to figure out vector and distance of line and use that to make sure speed was always constant.

That said, were you using forum search or Google search? Google search looks to turn up a few good threads :slight_smile: [import]uid: 52491 topic_id: 30053 reply_id: 120433[/import]

Great suggestion for the Google search! I was using the forum search. Resolved. Thanks Peach! [import]uid: 147322 topic_id: 30053 reply_id: 120473[/import]

No worries; we know our search/forum needs some work and in the meantime I always suggest using Google :wink:

Marking as resolved, thank you for updating! [import]uid: 52491 topic_id: 30053 reply_id: 120557[/import]

How might I do this with physics? [import]uid: 147322 topic_id: 30053 reply_id: 120914[/import]

You could, I guess, set and get linearVelocity to ensure speed was consistent then set to 0,0 once at the desired location - or by using a timer I suppose; if you know the speed and spot you could calculate required time to get there. [import]uid: 52491 topic_id: 30053 reply_id: 120930[/import]