Navneet Arora Posted July 12, 2017 Share Posted July 12, 2017 Hello guys, How can i use impact data when an object hits a particular object in my case a ground plane to break the constraints, For eg - i have certain glued objects falling on the ground , some of them are breaking in the air while they release due to impact generated while i want they should only break once they collide with the ground plane else their strength should remain -1. So how could i extract object id of ground and use that as an impact data. Quote Link to comment Share on other sites More sharing options...
younglegend Posted July 12, 2017 Share Posted July 12, 2017 http://forums.odforce.net/topic/29085-impact-glue-interaction/ - This might help. Cheers! Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted July 12, 2017 Author Share Posted July 12, 2017 2 hours ago, kishenpj said: http://forums.odforce.net/topic/29085-impact-glue-interaction/ - This might help. Cheers! I just went through the hip and he's simply breaking the glue based on impact, but that is not what iam looking for. I want glue to break when it collides with a particular objid. Quote Link to comment Share on other sites More sharing options...
rich_lord Posted July 12, 2017 Share Posted July 12, 2017 In a sop solver, you get an impacts node. Each point in there depicts one impact in your sim. There's also data on that point which will tell you who collided with what. I don't remember the name of the point attribute that corresponds to who impacted with who, but it's there. I think it is called objid and otherobjid. I'd take a look but I'm not near my computer. that should get you started. I can make an example hip for you later if it's still opaque. This stuff is a bit tricky and hidden. Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted July 12, 2017 Author Share Posted July 12, 2017 Just now, rich_lord said: In a sop solver, you get an impacts node. Each point in there depicts one impact in your sim. There's also data on that point which will tell you who collided with what. I don't remember the name of the point attribute that corresponds to who impacted with who, but it's there. I think it is called objid and otherobjid. I'd take a look but I'm not near my computer. that should get you started. I can make an example hip for you later if it's still opaque. This stuff is a bit tricky and hidden. yes i found out, it is objid Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.