Hi Can anyone explain why objects are moved by a pivot not center? I have choose center but still move the object using the pivot. Iam using for move this code: Code (CSharp): objekt.GetComponent<Rigidbody>().MovePosition(hit.point)
The button is effective for the tools in the editor and it doesn't effect how an object is transformed during run time.
You can find the center of your object with: transform.renderer.bounds.center.You should be able to calculate the offset from your pivot and adjust your movement using that...
Ok, so i solved problem as follows... i changed pivot point like in this video. If someone did not know in the future ''