Walking with HTC controllers attached to the feet on Unity 5 - unity3d

I would like to attached htc vive controller to the feet of a person so that it's walk is perfectly render in Unity.
Do you guys know any existing scripts or have any clue where I should be looking to achieve that ?
Thanks a lot.
Lucas

The best way to achieve this is to use Inverse Kinematic
I never used it before but there is a lot of tutorials about how to use this

Related

Making my Unity Game with Stereoscopic View (VR)

I have built a Unity3D + Google Tango based game on the NVidia Dev. device. Everything seems to work fine, but now I would like to play this game in stereoscopic view (For Dive Goggles). I looked at the ExperimentalVirtualReality example (https://github.com/googlesamples/tango-examples-unity/tree/master/UnityExamples/Assets/TangoExamples/ExperimentalVirtualReality) and was successfully able to port all the prefabs into my game, but for some reason the experience is not satisfactory.
The stereoscopic view of my game tends to over lap with each other when I look through the Dive goggles. The experience is a quite off.
I noticed that there are some public parameters on the TangoVR Player Object in Unity Project for 'IPD in MM', 'Screen Width in MM', 'Eye Offset in MM', etc. Do I have to play around with any of these. What does these values even represent?
Any help or pointers will be greatly helpful and appreciated.
IPD would be Inter-Pupillary Distance, while offset is the distance from your eye to the 'point of articulation' when you move your head.
This describes it (with pictures!): http://gamasutra.com/blogs/NickWhiting/20130611/194007/Integrating_the_Oculus_Rift_into_Unreal_Engine_4.php
I've found when trying to use cardboard lenses on devices with wider displays than the fov of the lenses you get an unsatisfactory experience.
This has to do with the lenses not being in the center of the frame, when focused at the display.
To circumnavigate this with larger devices you can push in the margins of the stereoscopic views. For the tango, with testing standard cardboard lenses I found that things work nicely if they were pushed in about an inch. The apps on the play store, Tango Mini Town and Tango Mini Village do a nice job of demonstrating this work around.
The ideal way to get this working would be with google cardboard and a proper tango tablet 7 inch view controller, but currently the cardboard app is incompatible with the tango. Fingers crossed for cardboard support.
As far as simply playing around with an optimal view points in unity, one can modify the view port rect on the stereo camera inspector menu in unity to get the ideal experience for a specific device with what ever controller you choose.
Thanks for all those who helped answer this. Many of my concepts definitely got cleared but nothing got me close to an actual solution. After researching a lot, I finally found this article (http://www.talkingquickly.co.uk/2014/11/google-cardboard-unity-tutorial/) super useful. it basically tells me to implement the Durovis SDK (https://www.durovis.com/sdk.html) with its Unity package.
Everything was pretty straightforward and experience I got from it was so far the best.

Unity 5.0 TouchScript Pan with Oculus Plugin

Hey guys I'm new to stackoverflow and was hoping anyone out there can help me with this problem :(
I'm using unity 5.1.1f personal and I'm trying to move 3d objects with the touchscript plugin. I'm also using the oculus and leapmotion plugins. For some reason the blue tag that's suppose to detect touch only appears behind the oculus lens views when I run the game as if they're not even in the game world to begin with. I suspect it might be a hierarchy issue but am at lost on how to solve it. I'm also confused about the touchscript plugin's synchronicity with the fiducial markers i plan to use to track the virtual objects positioning. If anyone out there can give me some help i'd greatly appreciate it! I'm not very good with unity so i'm in a pickle of what I can do.... ;_;

Simple Cocos2d Iphone Game. Just some basic questions

I'm making an app, where the sprite has to run across the screen pressing buttons and jumping and ducking. Kind of like line runner. Anyways, I'm using cocos2d. Is this what i should be using. If it is, how would i make it. Im not asking for all the code, just the basic objectives and what i should do! thanks so much!
Cocos2d is one of the best platform to make game i think what you want to do can be done by cocos2d and you need to know how to move object(sprite) across the scene and how to detect the collation.
there is lots of way to move the sprite across the screen you can also move then by the cocos2d built in methods.
search for move method which will help you.
I would definitely advise you to use Cocos2d for this purpose and also Box2d if you need real physics simulation in your game.
Regarding of writing your game have a look here : It contains very useful cocos2d tutorials and even have a tutorial of how to write a full functioning game (Look for the monkey game)
Note : It seems that the link does not work right now but I am sure it will be fixed soon..

How to move water in iphone cocos2d?

I am trying to create an application very similar to iBeer I want to fill iphone from virtual water and can shake it so it produce bubbles? I tried to search any similar example of code as I am very new to cocos2d but I can't. I wanna know how can I do this? Any helpful links? Do I have to use chipmunk or anything else?
Thanks
Mani
Cocos 2D mainly serves to display sprites particules and otehr visual effects
The actual physics of it are handled by Chipmunk.
chipmunk is not so much a fluid engine but given enough small objects you can aproximate something like iBeer.
I remember seeing a video demo of chipmunk that did it.
I'm never did something close to that with chipmunk but try asking on the offcial forum
http://www.slembcke.net/forums/viewforum.php?f=1
they helped me out a lot and the author of chipmunk (scott) is very reactive and helpful.
thats the use of accelerometer and you affine transform your views
This explanation of animated water may be helpful.

iPhone 2D Game programming

I would like to start a project about creating a 2D game for iPhone. I have already created some iPhone apps but none concerning game. The idea is simple : the user must drive a ball into a simple route composed of some obstacles before he gets cached by a wall that always go done. (I don't know if it make sense to you but the game environment will be simple).
I posted here because I have some questions :
What should I use ? Opengl ES or only UIView objects ?
Is there some framework that could help me ?
All ideas, advices, suggestions, links for good tutorials are welcome !
Thanks in advance for your help.
Ps: forgive my english, it's not my first language.
If you are focusing on 2D only, something like Cocos 2D would save you a lot of steps and let to focus on your game development.
It handles scene management, particle effects, sprite animation, physics, etc.
My personal favorite for 2D development is Corona.