steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

Add a "Set on fire" button to fire source

Open laggron42 opened this issue 3 years ago • 1 comments

This PR adds a button to the "Fire source" script (from InteractionSystem/Longbow) to set the component on fire without a nearby fire source.

I found this very useful when testing my game, and I think it could be a good addition to the repo!


The usage of a button requires a second script, it can't be done from the same script. Please tell me if I should change the namespace or something else. Also worth noting I had to make the FireExposure method public.

laggron42 avatar Feb 03 '22 09:02 laggron42

Here's a recording of the demo scene using the button

Unity_cqJ4C1b4P3

laggron42 avatar Feb 04 '22 09:02 laggron42

Additions to the Interaction System are kind of out of scope at this point. But thanks for contributing!

zite avatar Feb 09 '23 17:02 zite