I'm doing a first person adventure but still having some issues with some "strange" behaviors.
1. I've locked the cursor in screen center, but how can i use the inventor, using the mouse? without a mouse key, i need them for interactions
Right now i've defined a new input toggleCursor with the same Button like the inventory, but this can not be the right behavior?! Is there a way to switch the toggle Cursor via Interaction?
2. Examine an inventory item: I would like to center the specified object and interact with it,zoom, rotate ... same problem here as in 1. and i would like to switch to another camera to do this, but when the ActionList ends, it switches automatically back to the firstPersonCam, how can i prevent this? With this behavior (locking the cursor and firstPersonCam) it seems i'm not be able to do something like in the PhysicsDemo. Swtichting Camera to drawer, interact with the drawer (drag) and switch back to fpCam.
And Idea?
Thx a lot
Holger
Comments
2.) I want to examine items in my inventory, that the object will display on screen on a different cam (inventoryCam) where the object can be examine (zoom, rotate) like in the physicsDemo (rock). After click a button (exit) go back to fpCam.
However, you can switch to other gameplay cameras simply by changing the movement method mid-game. Use the Engine: Manage systems Action to change the Movement method to Point And Click, and also disable Movement. You'll then be able to switch to deskCam for interactions - just use another such Action to switch back to first person afterwards.
Thx Chris, but this seems to work only half the way. The Cam switches to the deskCam, but i'm not be able to move the Cursor anymore.
Deos this only works if my deskCam is tagged as "firstPersonCam" ? But if so, how could i switch between them.
Any idea?
In 1.41 it works, almost:
I switch to the desk-cam, change movement method to "point&click" and player constrain to free aiming "disabled" (which i think, i didn't used to). Everything works fine.
Then i switch back movement method to "firstPerson" which works, but the cursor isn't locked in the center anymore. setting free aiming didn't work either.
Any idea?