Question by
sxnorthrop · Apr 20, 2016 at 08:21 PM ·
transform.positionconvertcoordinateslocalposition
Using local coordinates on a parent object.
How would I use local coordinates on the root object? Like when I change the little node at the top left from 'Global' to 'Local', and I see the axis pointer using my local coordinates. I would like to manipulate it like that. Thanks.
Comment
Best Answer
Answer by sxnorthrop · Apr 20, 2016 at 09:25 PM
I used transform.InverseTransformPoint in order to convert my world coordinates to local, and when doing this I had to remember to reverse it by using transform.TransformPoint.