Player not moving to spawn.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Joshua121
Posts: 2
Joined: Thu Feb 07, 2019 8:00 pm

Player not moving to spawn.

Post by Joshua121 »

I'm at a loss as to why this is happening. I'm using the loadlevel, spawn sequence to move the player from scene to scene.

The problem I'm having is that I'm trying simulate the player going up a ladder, so when the player moves from the scene where they are at the bottom of the ladder to the scene where they should be at the top of the ladder, they appear too low and fall through the floor. The player is not moving at all, but is just staying at the same coordinates. The spawn point I have listed in the sequence is correct, I've checked it over and over, and I just don't understand why this is happening.
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Player not moving to spawn.

Post by Tony Li »

As a test, what if you manually position the player at the spawnpoint at design time (i.e., in the scene view), and play that scene directly? Does the player still fall?

What if you move the spawnpoint elsewhere, like 2 units above solid ground somewhere else? When arrive from another scene using the LoadLevel() sequencer command (or a ScenePortal trigger component if you prefer), does the player appear at the new spawnpoint location?

These two tests will help determine (1) if the spawnpoint system is working at all in the scene, and (2) if it's specific to the top-of-ladder spawnpoint.
Joshua121
Posts: 2
Joined: Thu Feb 07, 2019 8:00 pm

Re: Player not moving to spawn.

Post by Joshua121 »

I figured it out... I'm a moron who forgot an underscore in the spawn name. Arrgghh. I hate doing stupid things like that. lol. I was so focused on the spelling that I missed the _ character. Works as expected now.

Thanks so much for the reply BTW, very good suggestions.
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Player not moving to spawn.

Post by Tony Li »

No worries; I'm glad you got it working!
Post Reply