I’m having an attempt at 3D stuff in unity, having never done anything in 3D before. I also have a VR hearset and am looking to get this working in unity. I’ve got a model motorcycle that I want to be able to get on and drive.
I’ve used a sphere collider to check whether i’m in range and then I’m checking for key input to actually get on the bike.
However I’m having a problem moving the bike. As it stands I have a player which is basically just the First Person Controller and then have a script attached to the bike which disables my player controller when using. This is working so far ( I think )
I want to be able to move the bike forward and turn left and right with the keyboard, but still be able to look around with the mouse, however because this would be in VR I need it that when I turn my head to looking forward that I’m still looking forward in the game despite the fact I’ve turned. Hopefully this makes sense.
I’m not looking for someone to just write out the scripts for me. Just a point in the right direction. Do I use a rigidbody? and use transform.rotate? or do I use something like look towards.
Thanks to anyone who can help.