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
 

Re: Player Movement

Previous Thread :: Next Thread 
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 05:20 PM
What is the most efficient way to move a player's character? Without teleporting them.
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
27 Aug 2013 05:22 PM
Moving as in translating an object to one area to another or just flat out walking? Elaborate, please.
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 05:24 PM
Walking.
Report Abuse
ProfitMargin is not online. ProfitMargin
Joined: 01 Aug 2013
Total Posts: 285
27 Aug 2013 05:25 PM
:MoveTo() it's a method for the character.
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 05:26 PM
Do I have to do anything with ControllerService?
Report Abuse
ProfitMargin is not online. ProfitMargin
Joined: 01 Aug 2013
Total Posts: 285
27 Aug 2013 05:27 PM
I mean you can if you want but I wouldn't
Report Abuse
magnalite is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
27 Aug 2013 05:30 PM
:MoveTo() is what I would recommend.
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 05:30 PM
The MoveTo method doesn't seem to be doing anything. Anything I have to do first?
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
27 Aug 2013 05:32 PM
http://wiki.roblox.com/index.php/MoveTo_(Method)/humanoid


I think they mean THIS one.
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 05:32 PM
Yes, that's the one I've been trying to use.
Report Abuse
magnalite is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
27 Aug 2013 05:43 PM
Try using it correctly.
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 06:25 PM
Are there any requirements I need for it to work?
Report Abuse
ProfitMargin is not online. ProfitMargin
Joined: 01 Aug 2013
Total Posts: 285
27 Aug 2013 06:30 PM
You need to get the character.
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
27 Aug 2013 06:39 PM
@Profit
He doesn't want to teleport the character, he wants to force them to walk to a point.
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 07:20 PM
Bump
Report Abuse
mylifeis2cooldlol is not online. mylifeis2cooldlol
Joined: 08 Mar 2011
Total Posts: 874
27 Aug 2013 07:26 PM
If you want a character to walk to a point without them being able to cancel the walking, you have to use the controller service.

If you want them to walk to a point with the option to terminate, you can ignore the controller service...

If you want them to walk to a point, you need the Humanoid of the player and use the function ":MoveTo" and takes parameters "Location Vector3" and "Part/Object"

If you want them to be teleported, you can use ":MoveTo" function of the model or use the CFrame property of the Torso of the person.
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
27 Aug 2013 07:31 PM
Yeah... I'm not sure why that one guy is saying you want to use MoveTo on the character. Above is correct, though.
Character.Humanoid:MoveTo( Vector3 `positionToWalkTo`, BasePart `somePartSomewhereWeDontKnowWhyThisArgumentExists` )

~ Oh, I'm sorry, did I break your concentration? ~
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 07:36 PM
Yeah, I was wondering what significance the Part had...
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
27 Aug 2013 07:41 PM
IDK. I've had issues with setting it to the torso of the character, so I'd suggest making it the baseplate or the part you're walking on or something.

~ Oh, I'm sorry, did I break your concentration? ~
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 08:06 PM
Even after I remove the ControllerService, the MoveTo method doesn't seem to do anything on the Humanoid. The script I used to remove the ControllerService was the one from the Wiki.

http://wiki.roblox.com/index.php/Controlling_a_Player%27s_Character

Has anyone ever seen their character being controlled in a place before?
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 08:18 PM
Bump
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
27 Aug 2013 08:52 PM
Nobody?!
Report Abuse
MassiveGman is not online. MassiveGman
Joined: 23 Jan 2011
Total Posts: 2019
27 Aug 2013 08:54 PM
A recent Roblox update broke the player CFrame teleportation. (MoveTo). You'll have to wait for roblox to backtrack the update before it works again.




Madness, as you know, is a lot like gravity, all it takes is a little push
Report Abuse
electricpretzel0 is not online. electricpretzel0
Joined: 30 Sep 2008
Total Posts: 1278
27 Aug 2013 08:55 PM
game.Workspace.Character:MoveTo(Vector3.new(X,Y,Z))

Ehh maybe? something like that. Don't try moving the Humanoid, Move the model! (Character)
Report Abuse
magnalite is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
27 Aug 2013 08:58 PM
IF YOU DON'T KNOW SCRIPTING WELL DON'T TRY TO HELP AND GIVE OTHERS BAD INFORMATION!!!!

Model:MoveTo()

and

Humanoid:MoveTo()


Are two DIFFERENT methods.
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