- Home /
Rigidbody2D.attachedColliderCount question C#
Is it possible to use this
Rigidbody2D.attachedColliderCount
to actually count the rigidbodies attached to a sphere?
I would like to be able to have a sphere and then hit it with another sphere and right now what I have makes them stick, but I want Unity to Debug.Log how many spheres are attached to the main sphere.
Any push in the right direction would be helpful and appreciated.
Comment
Your answer
Follow this Question
Related Questions
How do I get collisions between Tilemap Collider 2d and a Kinematic Rigidbody 2d? 1 Answer
Player appears on top of an Kinematic object or underneath it when walking forward. 0 Answers
Buggy touch controls? 0 Answers
Reset Rigidbody2D rotation after collision 2 Answers
How to constrain 2D objects? 2 Answers