Camera Attaching to Dead Body
by Jaztin As-Siddiq · in Torque 3D Beginner · 10/11/2013 (9:49 pm) · 1 replies
Upon dying, the client appears to be instantly respawning in the same location where they died. They cannot, however, move or look around.
[IMG]http://i.imgur.com/HsoyFKs.jpg[/IMG]
When I switch over to third-person, I find that the client is actually dead, the camera just sticks to the body and makes them appear to still be living from first person.
[IMG]http://i.imgur.com/HsoyFKs.jpg[/IMG]
I have worked in a "Deploy" button that, when pressed, will respawn the player in the world. A player object is placed in the world, but the camera stays attached to this dead body.
Torsion then gives this error in the output:
scripts/server/gameCore.cs (945): Unknown command setControlObject.
Object AlphaSpawn(4314) AlphaSpawn -> SpawnSphere -> MissionMarker -> ShapeBase -> GameBase -> SceneObject -> NetObject -> SimObject
The line of code it is referencing is: "%client.setControlObject(%control);"
I've been following the breadcrumbs so to speak of this error (for many, many hours) and have made no progress so far, but then I though that asking this forum might produce faster results. Any answers as to how I'd go about fixing this?
[IMG]http://i.imgur.com/HsoyFKs.jpg[/IMG]
When I switch over to third-person, I find that the client is actually dead, the camera just sticks to the body and makes them appear to still be living from first person.
[IMG]http://i.imgur.com/HsoyFKs.jpg[/IMG]
I have worked in a "Deploy" button that, when pressed, will respawn the player in the world. A player object is placed in the world, but the camera stays attached to this dead body.
Torsion then gives this error in the output:
scripts/server/gameCore.cs (945): Unknown command setControlObject.
Object AlphaSpawn(4314) AlphaSpawn -> SpawnSphere -> MissionMarker -> ShapeBase -> GameBase -> SceneObject -> NetObject -> SimObject
The line of code it is referencing is: "%client.setControlObject(%control);"
I've been following the breadcrumbs so to speak of this error (for many, many hours) and have made no progress so far, but then I though that asking this forum might produce faster results. Any answers as to how I'd go about fixing this?
Jaztin As-Siddiq