- Home /
Question by
binux · Sep 08, 2014 at 05:03 AM ·
rigidbody2dcoordinatesspringjoint
How to get coordinates relative to rigidbody?
I'm trying to connect a SpringJoint2D "connected anchor" to the edge of another GameObject. Sadly the "connected anchor" property awaits a Rigidbody2D relative position to that GameObject. Therefore renderer.bounds doesn't work. I can't figure out how to get them.
Can anyone help me to get the proper coordinates?
Thanks.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613162532im_/https://answers.unity.com/themes/thub/images/avi.jpg)