Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I would very much like to use both keyboard, mouse and even touch controls all in the same 3rd person camera controller so that one game can be used on all devices. Mouse for rotation of the world and mouse button control and touch to move the camera. Again, are there any tutorials or javascript examples on how to do this available? Thanks. Mike |
||||
|
I am sure this is possible - anyone have any experience adding mouse rotation to the third person camera? Mike |
||||
|
U can use emulate a key for touch system... Using the 2d touch button... To rotate the world using mouse... There maybe a script already available for third person shooter .... Here is the link https://www.ambiera.com/coppercu... |
||||
|
Do I use this in place of the 3rd person camera or along with? Please help me by describing HOW to place and use this script. Thank you. Mike |
||||
|
Add this script behaviour to your player object... And remove the move object with keyboard if already attached... Then choose your tpc in camera... And adjust other properties accordingly... Like speed, jumpspeed jumplength ,etc... |
||||
|
Yes, I like this script better, but it needs the ability to run, swim, climb, etc. It also needs the ability to look up and down somehow (keys I guess). I assume that has to be programmed in javascript to the script in question. Mike |
|