- Home /
Using triggers without Rigidbodies?
Hello,
I am curious if this is possible without making my own?
I am trying to save as much overhead as possible, although its a fairly small arcade type game so its not a bigger. At the moment I have rigid bodies on my enemies but 'Is Kinematic' is ticked, which only collides with triggers which is all I need them to do. However I am wondering if having a rigid body on this is unnecessary.
Thank you for your time.
Is there anything that makes you think that your kinematic rigidbodies are currently creating "overhead"? They should be pretty efficient already.
I just feel like I'm attaching a whole rigid body just for triggers
Answer by getyour411 · Jul 22, 2015 at 06:10 AM
http://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerEnter.html
Triggers need rigidbody
No , there is only written that at least one of the colliders (of the object that triggers the trigger) needs to be attached to a rigidbody, otherwise the triggerevent wont be registered.
And why did you say "No"? You need a rigidbody in order to get collision or trigger events. That was what the question has asked and the answer is Yes, you need one. Nobody has said that every collider / trigger need one.
I said "No" because I understood the question wrong :) I thought he asked if he needs Rigidbodies on the TriggerObjects. Thank you for pointing it out, my Answer was not a good answer for this question then. Cheers
Your answer
![](https://koobas.hobune.stream/wayback/20220611232432im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Player 2D getting stuck while moving 2 Answers
How do i stop rigidbody2D bounce 1 Answer
Butcher-like blood physics and rendering 0 Answers
Need help with Raycast2D 0 Answers
Detect 2D joint break? 1 Answer