Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pivot]

The tag has no usage guidance.

1
vote
1answer
16 views

unity how to automate changing sprite editor setting

I have a bunch of hex tiles that I want to import into a tile palette. However their pivot point needs to be set to y 0.35 when the default is 0.5 I could edit the import settings in the sprite ...
0
votes
1answer
28 views

Problems when rotating object to animate in Unity

I am trying to create some animations for a car model in Unity and I have a problem with the rotation of the wheels https://imgur.com/a/HcWxyob Here I can set the rotation properly as the pivot ...
0
votes
1answer
375 views

How to change the pivot in Unity

I have a cube created in Unity scaled 5 times. The pivot of the cube is by default in center. I would like to change the pivot to the one of the vertices. How to do that ?
0
votes
1answer
511 views

Unity: Set new Origin using empty GameObject

You used to be able to set a GameObject with your Mesh as a child of an Empty GameObject. By rotating the Empty the Mesh would rotate around the position of the Empty. Now after the update it seems it'...
0
votes
1answer
60 views

Change center point and size with the help of the Matrix in Unity

Let us suppose I have an array of Vector3, it contains vertices. Now I want to scale the vertices and/or change the center point of the texture (move texture ...
1
vote
1answer
2k views

How To Rotate A Vector around A Pivot Point

In Unity, I'm trying to figure out how to rotate an object around a pivot point. I found a snippet of code over on the regular stack overflow, but it wasn't working even close to correctly. I have ...
1
vote
1answer
3k views

Changing the origin/pivot point of the parent in Unity

I create a game object, add some children to it, and would like the pivot point of the parent to be somewhere inside the area occupied by the children, not far away in the scene. Like in the example ...
0
votes
1answer
862 views

Unity Matrix4x4 to rotate a point around a pivot / axis

I need the Matrix4x4 to rotate around a given axis that does not go through (0,0,0). Is there some built in straightforward way to do this in the Unity libraries, or do I need to build and maintain my ...