Hi guys, I’m looking to identify all vertices of a given object within a capsule. I understand I can convert vertices to world coordinates using transform.transformPoint, but I’m unsure how to detect whether these points lie within a capsule.
Could anyone help?
Thanks
Ok, I want a capsule attached to the mouse position. The capsule will always have it's 'length' aligned with the Z axis, so that its 'into' the screen in this instance (so if it was visible the player would only see it's end - a sphere). When the user clicks the mouse button, I need to identify every vertex within the capsule. Effectively it's a volume, a space, and I need to identify every vertex within that space. Thanks for the response!
– AntLewis