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 cony138 · Jun 27, 2013 at 03:10 AM · ontriggerenteroncollisionentercontacts

Is that possible to get contacts when OnTriggerEnter

The OnCollisionEnter do not meet my need,becuase When the CollisionEnter, the box will be bounced off. So I need to find all the contacts from the OnTriggerEnter function, is there anyway to achieve it? excuse me for my bad english .

Comment
Add comment · Show 6
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 SinisterRainbow · Jun 27, 2013 at 03:35 AM 0
Share

You may want to rephrase. Do you mean when the box is close to an entity it bounces off? If so, I don't understand the question, why not just use OnTriggerEnter as you say? All entities entering the OnTriggerEnter can be recorded in a script. What are you using the script for ? Is it a big secret? :D

avatar image cony138 · Jun 27, 2013 at 03:48 AM 0
Share

Thanks for reply, it's not a secret, just too hard to translate my $$anonymous$$d to english. I want to know all the CONTACT POINTS when it enter collision, and do not hope the box bounces off. so I want to get all the CONTACTS when OnTriggerEnter OR make the box do not bounces off when OnCollisionEnter. :)

avatar image robertbu · Jun 27, 2013 at 04:00 AM 0
Share

It's not possible.

avatar image SinisterRainbow · Jun 27, 2013 at 07:46 AM 0
Share

It's not possible unless you are talking about more than one object (more than one collider). you can set more than one collider on an object, but it covers an area still (like set a collider on a hand + foot + leg for instance).. getting pixel perfect collisions or something you will never see for many years.

avatar image AlucardJay · Jun 27, 2013 at 07:56 AM 1
Share

OR make the box do not bounces off when OnCollisionEnter. : You can set the velocity to zero, and set the rigidbody to is$$anonymous$$inematic = true

  • http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody-velocity.html

  • http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody-is$$anonymous$$inematic.html

Show more comments

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

17 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

Related Questions

Trying to create a gameover trigger with enemy. 1 Answer

How do you use enemies to kill the player? 0 Answers

How can I get a gameobject to be deactivated and a cube gameobject with a particle Emmitter to activate? 0 Answers

Inconsistent behaviour in child triggers 1 Answer

Delayed Collisions Bug (includes video demonstration) 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