Game Development Community

Player lands in wrong place...Huh?

by Mike Rowley · in Torque Game Engine · 09/23/2007 (8:46 am) · 3 replies

I have a world I've been building and have the player drop point sphere set in the proper position. For some odd reason, the player is landing on the roof!! and I have no clue why.

My spawn sphere settings are as follows:

new SimGroup(PlayerDropPoints) {
      canSaveDynamicFields = "1";

      new SpawnSphere() {
         canSaveDynamicFields = "1";
         position = "247.281 -160.962 198.002";
         rotation = "0 0 -1 40.8625";
         scale = "1 1 1";
         dataBlock = "SpawnSphereMarker";
         Radius = "1";
         sphereWeight = "100";
         indoorWeight = "100";
         outdoorWeight = "100";
      };
   };

Now, this worked with my old building, but it was super huge so I replaced it with a smaller version and moved the spawn sphere down inside it. I don't understand why this isn't working like it should.
Any help would be greatly appreciated.

#1
09/23/2007 (9:36 am)
I suggest stepping through the GameConnection::spawnPlayer() codepath to see what's going on.
#2
09/23/2007 (12:14 pm)
Portals? I never tried to spawn players inside myself...
#3
09/23/2007 (6:01 pm)
I don't know why this happened, unless it had to do with some folders I deleted. It may have needed one of them. I have it working again now by putting the original folders back in. Go figure.
I'll get it all sorted eventually.
Thanks for the help. :-)