Unity3D 4 and Windows 8 Ultrabook

Unity3D 4 and Windows 8 Ultrabook

Portrait de Matthieu O.

Hi,
I am currently developing a touch application that uses Unity3D. I am trying to build it for Windows 8.
But there's a problem, for the moment Unity3D doesn't handle touch for Windows 8. I found this great tutorial : http://software.intel.com/en-us/blogs/2012/11/07/adding-multi-touch-support-in-unity-windows-apps
The event is well created and handled but there's no informations about the touch inputs, The touch count is always equal to 0.
Can you help me ? I can provide my code (which is very similar to the tutorial one).
Thanks a lot !

7 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de Ricardo Braga

Hi Matthieu,

Are you using Unity 3D 4? What version (free or pro)?

Regards!

Portrait de Abhishek 81

I am able to use it with windows 8 and i am facing no issues with touch.Currentlu i am developing a protype for Intel Perceptual Challenge and i made the protype with Unity 3.5.6 and Touch Input ,working perfect. I have the Ultrabook provided by Intel.

Abhishek Nandy
Portrait de Matthieu O.

Hi Ricardo,

Yes I am using the Unity3D 4 Pro 4.0.0f7.

Regards.

Portrait de Ricardo Braga

Hi Matthieu,

We are using Unity3D 4 Free 4.0.0f7. When we want to count player events (touch, keyboard, mouse, etc...) and show his score, we usually use a GUIText (score output) inside the Update procedure. We also use deltaTime as a timeframe. It looks like this:

void Update () {

tempo += Time.deltaTime;
if ((posicaoBola.y>=0.5)){ 
....//your events, maybe the counting process
}

velX.text = "Vx = " + veloX.ToString("#0.00") + " m/s";; //output score to the user.

Where velX is a public GUIText;

Maybe you could solve your problem using the update procedure. Hope it helps! Regards!

Portrait de Matthieu O.

It's quite strange because the touch event is well called but there are no informations about the touchCount or the touch positions. Nor from Unity or the dll. If a create a log file registering touch informations, the event is well called but no informations about the touches inside the dll.

Portrait de Matthieu O.

Great, I solved my problem !

Connectez-vous pour laisser un commentaire.