- Home /
Can a object without a rigidbody be triggered by a trigger?
If I move Object1 into Object2 is there a way to have Object2 react without having a rigidbody on it? It seems the triggers only work when colliding with a rigidbody. My objects cannot be rigidbody but must still interact with each other. I not sure if any of what I said made any sense but I don't know how else to explain it. Thanks.
Answer by aldonaletto · Aug 24, 2011 at 09:14 PM
One of them must have a rigidbody. You can add a rigidbody to your trigger, and it should detect other colliders even if they don't have a rigidbody (at least that's what the docs say at OnTriggerEnter - I can't test this right now). CharacterController's are detected by triggers too, even if none of them has a rigidbody (this I've tested a lot).
Is there any way to have one one prefab trigger duplicates of itself? I know I can do it with ray casting but I was trying to find a different way to do it. Thanks for your help.
Your answer
Follow this Question
Related Questions
OnTrigger's Moving Behaviour with Other Triggers 0 Answers
Should Physics.Raycast() hit a Trigger on a disabled GameObject? 1 Answer
Kinematic Rigidbody Collider not colliding with Static Trigger Collider 3 Answers
Access other collider without use of Trigger collider. 1 Answer
Box collider triggers interfering with rigidbody movement 3 Answers