{"version":"1.0","type":"rich","title":"Gist 1aef7ee80b94a5ba6afb087f89ef50aa","description":"This example shows a Unity script that repositions an object’s parent so a tracked target aligns with a designated “feet” GameObject. It computes the offset vector between the feet and target, then subtracts that vector from the parent’s position to shift the entire hierarchy. The script runs automatically when the component is enabled, calling `MoveToTarget()` in `OnEnable`, and exposes the same method publicly for manual invocation. It uses Unity’s `Transform` API, including `position` and `transform.parent`, to perform the direct positional correction without physics or animation.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1aef7ee80b94a5ba6afb087f89ef50aa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}