- Home /
I need explanations about collider and joint types
Hi everyone !
I'm having problems with Collider & Joint Types and need help here.
I know Unity provides us various types of Collider Components like Box Collider, Sphere Collider... and the same for Joint Components.
I have seen in some video tutorials that people use certain types for certain purposes. However, no one so far gives an explanation about what's the difference between these components. I have read the manual and scripting references as well, however I'm not sure that I understand what they mean there.
If possible, can anyone give me a quick introduction to what each type of Collider/Joint is and in which scenario do you need to use them ? Below is the list of types I want to learn about:
-Box Collider -Sphere Collider -Capsule Collider -Mesh Collider -Wheel Collider
-Hinge Joint -Fixed Joint -Character Joint -Spring Joint -Configurable Joint
On a quick note, can anyone also explain to me why we need joints when we can just add various objects as children of others to make them move together ?
Thank you very much for reading ! I'd appreciate any help !
Answer by AngryOldMan · Apr 23, 2011 at 12:24 PM
the different colliders are just for different shapes. If you combine a few on a single object you can get away with not having to make and export your own collision meshes. Joints are useful for easily restricting movement to make, for example, an arm joint. An arm can only move through a certain limited range and with hinje joints it's easier to set this behaviour up than it is to parent colliders and such then restrict their movement through code.
Thank you for answering ! I'm sorry that I'm this stupid but I don't get what you mean when you say "If you combine a few on a single object you can get away with not having to make and export your own collision meshes", and also the part about hinge joint. And other types of joints, can you tell me what they do and what's the difference between them ?
The question was excellent and you are hardly stupid. I am also interested in a response to this question.