Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 Raudaschl · Apr 04, 2015 at 04:33 PM · cameracollisionoverlapperspective

Is there a way to detect object collision detection based on camera perspective rather than direct polygonal collision in game space.

I was recently watching the fantastic "Making of Monument Valley" video on your tube - https://www.youtube.com/watch?t=15&v=mCCC9hQm6MM (11:20) and have been fascinated by their navigation system.

They stated that because of their impossible shapes creating connections between some nodes could not occur in the gamespace, so they built a system that would be able to detect collision/overlap based on perspective and use that information to create a node connection.

I can't seem to find any documentation or information about creating triggers based on 3d overlap/collision based on camera perspective - would anyone be able to point me in the right direction?

Many thanks,

Adrian

alt text

screen-shot-2015-04-04-at-153513.png (201.0 kB)
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by tanoshimi · Apr 04, 2015 at 04:36 PM

I believe the camera in Monument Valley is always fixed, and each interactable object only has a few possible positions/rotations. So I don't think there's any real time "perspective collision" calculations going on - there's a relatively small number of combinations so it's easy to maintain an array of what nodes are connected to each other for every possible level state.

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 Raudaschl · Apr 05, 2015 at 12:05 PM 0
Share

Hmm, I think you may have a point. I tried to find every bit of information on this from the developer but they never say explicitly how they did it. Perhaps they just manually joined them up and had them activate at specific trigger spots.

$$anonymous$$any thanks for your prompt reply!

avatar image
1

Answer by _Kyle_1 · Apr 04, 2015 at 04:39 PM

I would start with using a Raycast from the center of the camera and seeing what I can do with that. You might be able to use a raycast to find the distance between both nodes to see if they are close enough to be a connection.

Perhaps you could use oddly shaped colliders that are skewed to look normal from the camera but just like the world would be.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Camera collision 2 Answers

Camera bounce/collision 1 Answer

Is it possible to show only a part of what camera sees? 1 Answer

How to use OverlapCollider? 1 Answer

Perspective distortion makes objects on the edges of the screen "nearer" 0 Answers


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