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

How would I move a Humanoid to a Vector3 without a part? [closed]

Asked by 10 years ago

Okay, so let me expand more on what the question really means, because it's not too clear.

I'm trying to do something like this:

humanoid:MoveTo(Vector3.new(0,0,0))

however the MoveTo method requires me to make the second argument a part when I don't actually have a part to make it.

How would I go about doing this?

0
Give me a minute, let me look in my archives. I've done this before. DiamondBladee 135 — 10y
0
Could you just create a part at the point and then delete it when the humanoid has moved to the part? Sublimus 992 — 10y

Locked by Thewsomeguy, adark, and Articulating

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

2 answers

Log in to vote
2
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
10 years ago

The second part describes the tracking-motion of the green-circle walking method (which I'm not even sure remains as a control, I don't think it does).

So for normal purposes, any static (non-moving) part will work.

This includes, for instance, Instance.new("Part"), or if you don't like that, just use the Baseplate or some other static part.

0
Thanks. I'll try that. I'll accept your answer if this fixes my problem. TheGuyWithAShortName 673 — 10y
0
I see to be mistaken about the Instance.new solution; it appears the humanoid (at least now) requires the part to be in the workspace BlueTaslem 18071 — 10y
0
When you use this method, make you you remove the temporary part, or you may end up lagging your servers to death. DiamondBladee 135 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

I think you can set the part to the torso.

0
I tried that but it starting spazzing out trying to turn around and everything. Push the 'Dummy' here: http://www.roblox.com/--place?id=154036396 and you'll see what I'm talking about. TheGuyWithAShortName 673 — 10y