UnityPenetrationTech
UnityPenetrationTech copied to clipboard
Similar function as SetTargetHole but with lerp transition
I am making an alternative hole detector in listeners. Auto penerate is therefore switched off. The listeners perform the Penetrate function. I am looking for a function like SetTargetHole but it would not be affected by the Peneration Margin Of Error value. I could give him the lerp value. I would think something like this SetTargetHoleLerp(Penetrable target, float lerp). Would be 0 in normal mode and 1 when turning fully towards the target. I don't know if it's clear, but can you help me if it's not too much trouble?
Ooh, I believe I understand, and yeah I think the whole penetration detection system needs to be refactored.
I think I understand what you're saying though, the ability to discretely set the lerp value like that would be nice.