Search
Browse
🍪 Blender Basics
Explore Library
Podcast
Educators: Blender Teaching Guide
What's Coming Soon
Upgrade your membership
Blog
Login
Sign Up
Search
Browse
🍪 Blender Basics
Explore Library
Podcast
Educators: Blender Teaching Guide
What's Coming Soon
Upgrade your membership
Blog
Login
Sign Up
Search
Full Library
All Courses
Playlists
Live Streams
Downloads
Posts
YouTube
Citizen Perks
Coming Soon
Community
Try wit...
j
Try with hit.attachedRigidbody, it worked for me. Also a little mistake. You're calling getComponent twice in same loop...
jankovalsky
posted to:
Exploding Grenades
March 18, 2017 3:37am
Try with hit.attachedRigidbody, it worked for me. Also a little mistake. You're calling getComponent twice in same loop, so would be nicer to assain it to a variable
Reply
Jonathan Gonzalez
(jgonzalez)
replied
March 18, 2017 11:23pm
I agree, I typically use attachedRigidbody within this type of loop.