• 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

Oncollisionenter

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

ZeR0TiMe_Pro asked

a problem with OnCollisionEnter2D and OnTriggerEnter2D

Aug 9, '22 oncollisionenter·ontriggerenter2d

0 Replies

0 Votes

avatar image

nkmeth008 published

Camera Focus OnColliderEnter

Aug 4, '22 oncollisionenter·camera.main·collider.oncollisionenter

0 Replies

0 Votes

avatar image

OnyxGuts edited

Problem with Addforce and One way platforms OnCollisionEnter2D

Jul 31, '22 in Help Room

0 Replies

0 Votes

avatar image

unity_28ishiharar answered

OnCollisionEnter not working

Jul 26, '22 c#·charactercontroller·oncollisionenter·noob

2 Replies

0 Votes

avatar image

TheTrueDuck commented

Knockback feature: OnCollisionEnter + OnCollisionStay

Jul 14, '22 in Help Room

1 Reply

0 Votes

avatar image

ParadoxReborn commented

Strange order FixedUpdate and OncollisionEnter

Jun 23, '22 oncollisionenter·fixedupdate·execution order

1 Reply

0 Votes

avatar image

JakeStew2 commented

OnTrigger bullet with multiple colliders on enemy

May 15, '22 2d game·shooting·ontriggerenter·oncollisionenter·bullet-prefab

1 Reply

0 Votes

avatar image

SirIVLucifer published

Oncollisionenter and time,OnCollisonEnter and time.

Apr 23, '22 in Help Room

0 Replies

0 Votes

avatar image

DarkxxCrow commented

How to get contact point of collision.

Apr 4, '22 2d-physics·oncollisionenter

4 Replies

1 Votes

avatar image

jacobrutter commented

How to instantiate prefab when colliding with specified prefab

Apr 1, '22 prefab·object·unity 2d·debug·oncollisionenter

1 Reply

1 Votes

avatar image

Caeser_21 answered

can GetComponent().fillAmount -= 0.1f; work with on collision enter?, GetComponent().fillAmount -= 0.1f; works fine if attached to getkeydown but not for oncollisionenter

Mar 10, '22 oncollisionenter

1 Reply

0 Votes

avatar image

Gizza_Impact answered

Am I misunderstanding how this code should function?

Mar 8, '22 in Help Room

1 Reply

0 Votes

avatar image

parker_griggs published

How to connect onCollisionEnter with another rigidbody via tag,Problem with collision touching a rigidbody

Feb 18, '22 in Help Room

0 Replies

0 Votes

avatar image

SylvaxNova04 edited

Can my player transform scale change OnCollisionEnter interactions

Feb 5, '22 transform·scale·oncollisionenter

0 Replies

0 Votes

avatar image

eclpsr answered

Unity3d Arkanoid platform collision problem

Jan 6, '22 collision·collider·oncollisionenter·collision.contacts

1 Reply

0 Votes

avatar image

guinoalaskapp commented

onCollisionEnter doesn't work without RIgidbody?

Nov 26, '21 collision·rigidbody·oncollisionenter

1 Reply

3 Votes

avatar image

BlackMashroom commented

Turning a Light on With Collision Detection

Nov 21, '21 c#·light·oncollisionenter·find·addcomponent

1 Reply

0 Votes

avatar image

unity_vyvb-GSfngIBrQ answered

Collision detection when no collision happens,OnCollision is called without a collision

Nov 12, '21 collision·colliders·collision detection·oncollisionenter

1 Reply

0 Votes

avatar image

Muhd_Yusri commented

How to call OnCollisionEnter2D once when hitting multiple objects?

Oct 20, '21 c#·2d game·unity 2d·oncollisionenter

1 Reply

0 Votes

avatar image

unity_l6oP-q3Ct-J0QQ published

how to disable gravity on collision of rigidbody2d?

Sep 27, '21 unity 5·rigidbody2d·gravity·oncollisionenter

4 Replies

0 Votes

avatar image

AUsername64 asked

I don't think I get collision box, can someone help?

Sep 18, '21 c#·collision·instantiate·oncollisionenter·boxcollider2d

0 Replies

0 Votes

avatar image

GamerGoons asked

Why isn't there a type in option in my super unit?

Sep 2, '21 oncollisionenter

0 Replies

0 Votes

avatar image

MultidimensionalShow edited

Why does OnCollisionEnter not work between a character controller and a rigidbody?

Aug 21, '21 charactercontroller·collision detection·oncollisionenter

4 Replies

0 Votes

avatar image

Bruzel published

OnCollisionEnter2D ignores Z axis!,OnCollissionEnter2D ignores z axis.

Aug 16, '21 2d·2d game·shooting·oncollisionenter

0 Replies

0 Votes

avatar image

lastnoob765 answered

GameObject doesnt get destroyed onCollision

Jul 31, '21 gameobject·oncollisionenter·destroygameobject

2 Replies

0 Votes

avatar image

tyruji commented

killzone not detecting player

Jul 5, '21 collision·trigger·player·oncollisionenter·kill player

1 Reply

0 Votes

avatar image

oscarAbraham commented

Need help with collision Detection

Jun 26, '21 in Help Room

0 Replies

1 Votes

avatar image

Unity_Cybertech edited

How Would I instantiate a particle system onto my obstacle on collision after it being destroyed?

Jun 12, '21 instantiate·particles·oncollisionenter

0 Replies

0 Votes

avatar image

Cosmic_Owl130 answered

Collision not getting detected between 2 colliders

Jun 11, '21 in Help Room

1 Reply

0 Votes

avatar image

Namey5 edited

Setting my position to the position of a gameobject

Jun 11, '21 c#·2d·transform·position·oncollisionenter

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image avatar image avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

collision ontriggerenter c# collider rigidbody gameobject physics collision detection trigger oncollisionexit destroy 2d javascript instantiate scripting problem rigidbody2d collider2d collision2d colliders error charactercontroller unity 5 addforce tag 2d game


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