Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 h4wkeye · Mar 31, 2011 at 09:14 AM · fpsiphone

Working FPS Control on iPad?

Hello everyone!

i'm developing a showroom which is close to finish, BUT i have a certain problem.

My showroom got :

  • a FPS Controller

  • a script for toggling an objects rotation on/off

  • a script to toggle the spotlights on/off

Long story short : i need help on how i get the user to be able to control those things on an iPad/iPhone.

Every help (except for just redirecting me to references which do not help anyway) is highly appreciated.

Thanks in advance! :)

h4wkeye

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Justin Warner · Mar 31, 2011 at 12:23 PM

Alright... So, I was actually going to make a whole website in Unity... and I though of how to goto different pages...

So, I'd do some GUI work, and make it when you push the buttons to go to a certain object, it moves the camera for you to a certain spot...

To do this, I'd use:

http://www.unifycommunity.com/wiki/index.php?title=Spline_Controller

It's easy to set up, make the camera the object that moves, and have certain "nodes" enable for whatever item you'd want....

Other than this.. You can use the build-in accelometer...

http://www.google.com/search?hl=en&client=opera&hs=ZiH&rls=en&channel=suggest&sa=X&ei=cHGUTcrmHY2Q0QHwu5j4Cw&ved=0CBQQvwUoAQ&q=accelerometer+ipad+unity3d&spell=1

Might be harder, but could work...

Another idea would be to have like, and "On-screen keyboard" so you can move by pushing the buttons, which would be like...

if input is w -> make player go foward

if input is a -> make player rotate left

if input is s -> make player go backward

if input is d -> make player rotate right...

This can work pretty well, just mix the GUI with some transform/translate, and you can get that...

But any of these could work... Depends on how much work you're willing to do =). And sorry about the 2 links, it's how I answer questions... Not a fan of giving people code as I don't like to write code for people.... I find that it's like giving a man a fish.... They should be able to fish so then they can help others... You know?

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

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

No one has followed this question yet.

Related Questions

I want to have FPS iOS tutorials. 0 Answers

collider doesnt react to script 0 Answers

Unity iPhone: AddForce to Object after Touch 0 Answers

Disabling a GameObject via keyboard 2 Answers

Best Unity configuration for 2D games on iPhone 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