EDIT: I kinda managed to get it working, but not sure if thats the correct way… I just moved the camerarig thing under the player object, and then in code changed the rig.position to rig.parent.position.
But I would still atleast need help changing it to work like this:
I would also like to change the script so it only moves when im touching to upper part of the touch pad, and the direction would be determined by where im pointing the controller at. (but obviously if I was pointing down or up it wouldnt begin to fly or something like that)
Hey, not sure if this is the correct place to post, but anyway.
So yeah I have done this:
Then I added this:
^The problem Im having with that, its just moving the camera rig, and not the actual player.
PS. I would also like to change the script so it only moves when im touching to upper part of the touch pad, and the direction would be determined by where im pointing the controller at. (but obviously if I was pointing down or up it wouldnt begin to fly or something like that)
I’m unsure why the player wouldn’t be moving with the rig, have you tried using steams prefab of the camera rig?
Would it be possible for you to put the project on dropbox so I can download a copy and have a look?
As for editing the script to achieve that effect you would need to add an if statement to check if the axis.y is greater than 0. If it is add the controllers forward vector to rigs positon I believe.
Unfortunately I’m out of the office until Monday so I can’t try anything until then.
Hi, thanks. The fix I applied seems to be working, so I think I’ll be moving to work on other stuff on my project. And then change the walking to work differently if I feel its necessary.