- Home /
Trying to detect multiple points on a single collider
Hello everyone, I'm currently trying to develop a simple archery game where you shoot an arrow at a target and get points depending on where it lands. I'm having a really big issue where I'm not sure how I would actually code the target. I know that you /could/ just make a bunch of empty children with colliders and keep making new tags/layers, but since I want to have a LOT of different parts of the target (think a dartboard), that would be very redundant and sloppy. Does anyone know how to make this process a lot more straightforward? Thank you!
Answer by khooroko · Aug 10, 2018 at 02:05 AM
Here's one that should work for you if you're using OnCollisionEnter
: https://docs.unity3d.com/ScriptReference/ContactPoint-point.html
Your answer
Follow this Question
Related Questions
Extracting child trigger from compound collision 0 Answers
Collision Detection without a RigidBody 2 Answers
Help with destroying objects on collision 2 Answers
Collision not detected 3 Answers
Collision problem in C# 4 Answers