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

How do I make an object move towards another object? [closed]

Asked by
Astilev 30
7 years ago

Specifically, what I'm trying to do is have a part move to the location of my mouse. I tried using Mouse.Hit and even RocketPropulsion, but to no avail. My method was probably inefficient, as I spawned a block where my mouse was and used RocketPropulsion to force it towards the block. Would appreciate it if someone could help solve the problem!

0
Are you trying to move a block towards your mouse? GeezuzFusion 200 — 7y
0
Yes, he his. TheDeadlyPanther 2460 — 7y
0
You could use bodyposition and instead of Mouse.Hit, you use Mouse.Hit.p (I think that's how it was). DontBlinkDrWho 28 — 7y
0
Provide the code you attempted mayne.. Goulstem 8144 — 7y

Closed as Non-Descriptive by Goulstem

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?