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 Abu · Oct 30, 2013 at 08:23 PM · performancepickupbestpracticespickupsbest-practices

Who has the brains Player or object to be picked up

This is regarding 3rd person character setups

Say there are apples on the ground that the player wants to pick up how would the process go?

Should the apple have a trigger collider and be waiting to detect the player. Or should the player have a trigger and be waiting to detect the apple.

This also applies to interactions with doors and such. Should the player have a collider(or since doors are bigger a ray could be used) that when it is triggered will check the objects tag and tell the object to do it's thing(for doors it would be to open and close and objects(like apples) it would be to be added to an inventory).

What are some other methods, and is there any big positives or negatives such as one is more performance expensive. Is one method better if the game is single player while another is better for multiplayer.

Thanks for your answers.

Comment
Add comment · Show 2
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 tanoshimi · Oct 30, 2013 at 08:35 PM 0
Share

This is a very open-ended design question(s), so it not really suitable for UA. There are no "correct" responses to anything you wrote.

avatar image Dave-Carlile · Oct 30, 2013 at 09:17 PM 0
Share

This sort of open ended question should be asked in the forums. Unity Answers is for answering questions about specific technical problems.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by meat5000 · Oct 30, 2013 at 09:30 PM

The player has to know he can pick up apples. The apple has to know it can be picked up.

The nature of the object should be with the object, naturally.

You have some buttons. Does the player that presses them determine what they do? No. The player must know he can press them. The buttons must determine what they do for themselves.

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

18 People are following this question.

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

Related Questions

What is a reasonable number of draw calls relative to one hardware configuration ? 6 Answers

Should I export my room with all the objects in it or rearrange in Unity? 1 Answer

Low Priority Methods In LateUpdate? 1 Answer

How to Make Things Happen the Right Way 1 Answer

what is the best idea to remember which enemy killed or which pickup got after loading a scene again? 2 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