generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Humanoid:MoveTo() issue

Previous Thread :: Next Thread 
nise45 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
22 Jul 2013 07:31 PM
Hi. So I'm trying to make a character move toward a point, but for some reason no matter what I put in he always walks toward the same direction, instead of going to (0,0,0), why is this happening?

game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Ground)


~ siggy says hi
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Jul 2013 07:31 PM
Are they on Game.Workspace.Ground?
If so,
make sure they are not on 0,0,0
Report Abuse
nise45 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
22 Jul 2013 07:33 PM
Both of those, check.

~ siggy says hi
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Jul 2013 07:34 PM
So, they walk to a different point? Make sure Vector3(0,0,0) is on Ground I guess.
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 07:36 PM
You should go about it like:


game.Players.LocalPlayer.Character.Humanoid:MoveTo(game.Workspace.Ground.Position, game.Workspace.Ground)
Report Abuse
nise45 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
22 Jul 2013 07:37 PM
@Debranced.
I don't want to walk to the center of the baseplate.

~ siggy says hi
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 07:42 PM
Then give it a offset. Well you can write the position by self, though I think it needs to be near the part you are walking to.
Report Abuse
nise45 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
22 Jul 2013 07:51 PM
Offset?
Also, if it's any use my character tries to move to 0, -1.8, 0

~ siggy says hi
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 07:52 PM
What exactly isn't working for you? Character isn't moving at all? Try inserting a part, and going to it instead.
Report Abuse
nise45 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
22 Jul 2013 07:55 PM
Character isn't going where he should go. I tried going to the part too. No use.

~ siggy says hi
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Jul 2013 07:55 PM
Is something blocking the path?
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 07:56 PM
Yeah, roblox humanoids are really devilish. Try spamming that method, like looping it?
Report Abuse
nise45 is not online. nise45
Joined: 17 Nov 2008
Total Posts: 7002
23 Jul 2013 03:28 AM
Nope. Full clean baseplate. I assume it's broken then?

~ siggy says hi
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image