Forum rules - please read before posting.

Player Jumping

Hi all,

So following https://adventurecreator.org/tutorials/making-3d-game now, and found an odd issue with my player character.

I've placed him at Vector3(-1.33638287,0.173264503,23.6581402) however when I click on play he jumps on his own (seemingly anyways) to Vector3(0.0718069226,0.41517961,-0.278680384) (though this number keeps making minor changes.

Can anyone offer a suggestion on why? and how to fix?

If its important, this on Unity 2022.3.42f1

Comments

  • When the game is begun from a given scene, the Player will be placed at the scene's Default PlayerStart, listed at the top of the Scene Manager.

    The Player object's position in Edit mode is unimportant - its the PlayerStart object that gets repositioned to have the Player appear at the intended starting point.

  • Thanks for that Chris, a suggestion for the next update, perhaps a button to set the character to where they are in the editor. At least for those of us getting used to the system.

  • Thanks for the feedback.

    The Default PlayerStart is optional, mind - if you clear it from the Scene Manager, the Player will remain where they are when the scene begins. Though, as the PlayerStart and camera are linked, you'll also need to assign your starting camera with the Camera: Switch Action in your scene's OnStart cutscene.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.