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
|
  |
| 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
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 7002 |
|
|
| 22 Jul 2013 07:33 PM |
Both of those, check.
~ siggy says hi |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 22 Jul 2013 07:55 PM |
| Is something blocking the path? |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2013 07:56 PM |
| Yeah, roblox humanoids are really devilish. Try spamming that method, like looping it? |
|
|
| Report Abuse |
|
|
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 |
|
|