I have had a few issues with the rigidbody component not working correctly when spawning a prefab. to fix this I have had to add the rigidbody component at run time.
to do this I have been using the add component action to add the rigidbody after the prefab has been instanced in the level, my issue is that I then want to set the properties on the rigidbody component that was just created
using the set property will give me access to the rigidbody but will only reference the object that I drag into the property box from the scene. However I need to reference the owner and its newly created rigidbody instead
so my thoughts was possibly to extend the "add component" action to store its created component into an 'object' variable, to then pass on into the set property.
my problem is I cant work out how to do so so was wondering if anyone can give it a shot, I shouldnt imagine it would be that hard for someone who knows scripting however I have already spent a few hours on the issue and haven't been able to make any progress.
Edit*
Added an image to explain things a bit better, the create component result to the set property target object