Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Johnson_M · Oct 30, 2015 at 09:01 PM · camerawindowstouch controlstouchscreen

Windows 8 and 10 Touch Support in Unity 5

A little background info, I'm working on a interactive application for use on a Windows based touch screen. The application will have a 3d model where I want touch based controls for rotating and zooming around the model. But I'm at a total loss at how to do this since I'm very much a Unity beginner. I've found many scripts that do what I want using a mouse, but I'm not sure how or if I can get them to work using Touch inside windows. And to make things worse, I don't have a windows compatible touch screen to test on.

So my question is, does Unity have native support for Windows Touch? And if so, how can I use it for camera controls?

I've seen some other answers on here about it. But the questions are mostly for Unity 3 or 4 and none give very clear answers.

Thanks.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image meat5000 ♦ · Oct 29, 2015 at 07:51 PM 0
Share

The new touch module has a checkbox that allows it to function in Standalone

avatar image Johnson_M meat5000 ♦ · Oct 29, 2015 at 11:12 PM 0
Share

So yes? It will work? I should just use the same touch tools that I would for IOS or Andorid?

avatar image meat5000 ♦ Johnson_M · Oct 30, 2015 at 10:03 AM 0
Share

Ah right, The Touch Controller $$anonymous$$odule is a Unity 5 development. You can use touch for Windows in Unity 4 but it works in mouse clicks.

avatar image imnotjohn · Jan 21, 2018 at 07:10 PM 0
Share

I am in a similar situation and came across this post. What did you end up doing @Johnson_$$anonymous$$ ?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by TalkingDog · Jan 14, 2016 at 10:42 PM

I assume Touch "Controller" Module is "input" module.
This says it's obsolete "TouchInputModule is no longer required as Touch input is now handled in StandaloneInputModule." http://docs.unity3d.com/ScriptReference/EventSystems.TouchInputModule.html

I'm trying to do some object rotation and was using "simpleMouseRotator" to as my base. It seems to break and loose the drag on my touch screen.

I downloaded TouchScript and those various demos work nice on the screen, but if Unity has a better option I would like to follow that too.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by lassade · Jan 15, 2016 at 02:09 AM

Use http://touchscript.github.io/ is the best plugin out there to handle this touch the API is the almost the same of the UnityEngine.Input class and you have total control of the windows touch functions. Like disable that pesky touch holding to right click, just for your game.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TalkingDog · Jan 18, 2016 at 06:22 PM 0
Share

touchscript seems to break Unity's new GUI / canvas stuff. Is there documentation about this somewhere?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Count Number of Touches made in Android 2 Answers

3d car left and right touch input 2 Answers

The problem with the touch-control orbit view in the scene 0 Answers

Camera.main.WorldToScreenPoint(touch.position). Help !!! 1 Answer

Adding two different forces on same gameobject 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges