• 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 rayoriz · Jun 01, 2016 at 05:14 PM · augmented-realityaugmented realitymarker

How can I resolve depth inversion Issue with augmented reality marker based game?

Hello all,

I am a Unity newbie and I am trying to create a simple game using unity augmented reality marker as a sword. So basically, some objects would be flying towards the sword and the user has to cut it,

The issue here is when I move the marker towards to the laptop camera, the sword becomes bigger, which in the view of the game, looks like I am moving the sword away from the flying objects.

So I just want to reverse the direction of the sword, ie. if i move the sword closer to the camera, I want to sword to become smaller ( instead of getting bigger like in the normal marker detection). Any pointers on how I can do this would be greatly appreciated. Please let know if more details are needed.

Thanks for your time.

Regards, Riswan

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

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

What do you call image-marker recognition from device camera, without AR tracking. 0 Answers

How to measure the distance between an Augmented Reality marker and camera? 0 Answers

How to make an augmented reality marker get dragged in the scene? 1 Answer

String Augmented Reality model rising out of marker 2 Answers

Augmented Reality engine that can be feeded by default camera from Unity? 4 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges