|
| 28 Feb 2012 04:56 PM |
First off: I hate Characters.
Now for the problem:
I have made an object that is designed to replace the character (A small tank to be precice) but it jitters a bit when it moves. I strongly belive this could be fixed by making it the players character but (Problem!) whenever I set it to the players character the player 'Respawns' but without any new character (So I can select the tank-creating hopperbin again).
So, how can I set the character of a player to annother instance without the backpack being 'reset'? |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 28 Feb 2012 05:21 PM |
| It has to have a Humanoid in the model + a Head and Torso that are connected. |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Feb 2012 10:08 AM |
Plus the Humanoid just broke it =/
Any other ways? |
|
|
| Report Abuse |
|
|
Cakins
|
  |
| Joined: 23 Jul 2009 |
| Total Posts: 307 |
|
|
| 29 Feb 2012 10:27 AM |
This would be a pseudo-respawn system.
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character)
character = Instance.new("Part", workspace)
while (character == nil) do character = Instance.new("Part", workspace) end
end) end) |
|
|
| Report Abuse |
|
|
|
| 29 Feb 2012 03:22 PM |
| Too bad I dont want players to respawn. Quite the opposit in fact. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 29 Feb 2012 03:44 PM |
| So just focus the camera on that part and hide the character elsewhere. |
|
|
| Report Abuse |
|
|
|
| 29 Feb 2012 05:47 PM |
| @SDuke: Thats what I am doing, its just that the movement doesnt seem all that smooth. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 29 Feb 2012 06:23 PM |
| Are you talking about the camera moving with the bot or the bot moving? |
|
|
| Report Abuse |
|
|
|
| 01 Mar 2012 12:44 PM |
| The bot moving. Actually, is it simply a problem with BodyVelocity? |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 01 Mar 2012 03:20 PM |
| Most likely it is BodyVelocity getting weighed down. Try using BodyPosition or if you're lazy, weld it to something anchored and then move it around with CFrame. |
|
|
| Report Abuse |
|
|