Forum rules - please read before posting.

first person issue



I still cannot make a first person character. I
followed
 
your tutorial and used Tin-Pot
character. The character moves left-right backward and forward but the mouse
has no control at all and therefore it does not rotate and yes, I have
CursorHorizontal, CursorVertical and CursorToggle. There must be something missing



Comments

  • It's "ToggleCursor", not "CursorToggle".  Also, check that you have "Lock camera in screen's centre when game begins" checked in the Settings Manager - otherwise, the game will begin with the mouse controlling the cursor's position on-screen, rather than free-aim.
  • I made a mistake in typing the ToggleCursor here but I had it right in the scene.

     Now, Chris, where indeed is "Lock camera in screen's centre when game begins" ??? I have seen in the Setting Manager a "Lock cursor in screen's centre when game begins"  I have used this now as it looked like a typo error.

    I give up. When making the changes in the My3DGame it does work when I repeat the same settings in my own project it doesn't. Anyway the movements in FirstPerson look erratic. I wish I would have a Direct Movement method that allows the mouse to rotate the player as in every game I've played with. 

  • I'm sure you're very close to getting there - that is indeed the intention of First Person movement.  Though you're correct - I made a typo of my own and I meant "Lock cursor".

    If it works with one Settings Manager but not the other, there must be a setting that's preventing it from working.  Try setting the asset file to Demo_SettingManager and set the Movement method there to "First Person".  If Tin Pot is the player prefab, and the "Lock cursor" option is checked, then it should work.  Let's confirm you can get that far before we try to determine why it isn't working in your own game.
  • This is incredible !! it looks like my problem with the cursors I mentioned in my previous question.

    I used the Demo_SettingManager AND IT WORKS but not with "my test_SettingsManager" I have looked at every line comparing both and they are identical.

    Is it because I am in a different time zone ?????? !!!!!!! ridiculous


  • An addendum:

    is it normal that once I am in FirstPerson mode I cannot use the Hotspot ? because the cursor is locked and I se the hotspots icons but I cannot picked select them

  • correction to my last addendum: Yes I learnt about the Toggle Cursor so it works now therefore the only incognita is why it doesn't work (the first person char) using my settingManager but it works with your Demo_settingManager.
  • If the only difference is the SettingsManager asset, it could be that there's a hidden variable somewhere that's causing the problem.  If so, that's a bug and needs to be fixed.

    You can determine this by selecting the two SettingsManager asset files themselves, and viewing their Inspectors.  You can find the Demo_SettingsManager file in /AdventureCreator/Demo/Managers.  The Inspector will show all values - unfortunately there are quite a lot of them, but if you can find a difference between them then that will help a lot.
  • There were some differences and frankly I changed several and now it works. That's it.
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.