I found both of these while helping with the topic about stopping arrows from sticking in swords, which was also on my to do list. https://www.opsive.com/forum/index.php?threads/arrow-stick-into-characters-sword.5930/#post-29239
Under Destructible.cs the null prevention method is protected, and the non-null prevention method is public (which is called by the first). Seems like their access modifiers should be swapped.
Tracing code, this value in Trajectory Object seems to never be set to anything but null. This is then put into the event system for OnImpactEvent for Destructible/Projectile. Variable is GameObject originator
There's a "third" problem related to this in the other post (look at my most recent post there). http://www.opsive.com/forum/index.php?threads/arrow-stick-into-characters-sword.5930/post-29246
Under Destructible.cs the null prevention method is protected, and the non-null prevention method is public (which is called by the first). Seems like their access modifiers should be swapped.
Tracing code, this value in Trajectory Object seems to never be set to anything but null. This is then put into the event system for OnImpactEvent for Destructible/Projectile. Variable is GameObject originator
There's a "third" problem related to this in the other post (look at my most recent post there). http://www.opsive.com/forum/index.php?threads/arrow-stick-into-characters-sword.5930/post-29246
Last edited: