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 iuxeayor · Jun 12, 2016 at 07:01 AM · androidpositionlocation

How can I track the position of an Android Device on a small scale

Hello,

My question is, how can I track the position of an Android Device on a small scale?

I figure that the GPS is not exactly viable for this sort of problem since it has a 10 meter accuracy. I would like an accuracy of no more than 1/2 meter (preferably 1 foot). It is possible that the solution to this problem may not even be in tracking device positions, but simply identifying devices.

What I am trying to do is essentially make a Virtual Laser Tag game. The game is basically played in 2 worlds, the virtual game world (henceforth known as The Matrix), and The Real World (that physical plane in which we live where I can see into your eyes, but the moment I do I quickly avert them and pretend you didn't even see into mine). The Matrix is quite simple as it is made up of Capsules that will represent the players. As the players move around in the Real World, each with an Android device, and look around, the positions and orientations of the Capsules in the Matrix are also updated. When the players shoot (a problem to solve later), the Matrix is updated with a raycast from the player's capsule toward the direction that the device is facing. If the raycast also hits another Capsule, that Capsule will be updated with -HP. Theoretically, the damaged Capsule would only exist there if a player is there in the corresponding Real World position.

These positions can be relative to each other if that turns out to be the easiest solution.

Comment
Add comment · Show 1
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 iuxeayor · Jun 12, 2016 at 12:10 AM 0
Share

I am expecting to make this a multi-player only game since it is designed for emulating laser tag without requiring too much special gear. Perhaps in the future I may open the game up to have a single-player component and create bots for the player to kill, but that's something else entirely.

I considered using AR methods for this, such as Target-tracking using cameras, but it seems that the range that a target can be seen is actually quite limited. I thought that using other methods such as identifying proximity to routers or using ultrasound might somehow work, but I am not a great electrical engineer and wouldn't know where to start or where to go with those ideas.

In reality, simply being able to ID a target on the spot is actually all that I need, but I need a reliable method to do so. This would eli$$anonymous$$ate the necessity of tracking movement, making the game simpler, I think.

Thank you!

-Iuxeayor

0 Replies

· Add your reply
  • Sort: 

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

ScreentoWorldPoint position android issue 1 Answer

GPS doesn't work in AGPS mode 0 Answers

Why is my game object (door) changing rotation in game mode? 2 Answers

How to move character from one room to another? 1 Answer

how do i use touch.Position 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