Reply To: Try with hit.attachedRigidbody, it worked for me. Also a little mistake. You're calling getComponent twice in same loop…

Forum Archive Try with hit.attachedRigidbody, it worked for me. Also a little mistake. You're calling getComponent twice in same loop… Reply To: Try with hit.attachedRigidbody, it worked for me. Also a little mistake. You're calling getComponent twice in same loop…

#23093
Jonathan Gonzalez
Participant

    I agree, I typically use attachedRigidbody within this type of loop.