Basically I’ve got a lance GameObject (that’s just a scaled primitive cube) that i’m pushing towards a sphere, if I touch it with the tip of the lance then I want to execute some code.
But here’s the trick, the lance GameObject slowly scales up in length when I charge, hence I can’t really just attach an empty collider as a children to detect the collision, otherwise it just scales with the parent etc…
So my guess was the detect if im touching the tip of the lance with the normal, but I can’t check if the normal is a standard Vector3.up or something since the other object is a sphere and the contact’s normal is always irregular (e.g. (0.4f, 09f, 0f)).
How can I detect the sphere has been touched with the tip?