Question by
warhammercasey · Nov 06, 2015 at 04:00 AM ·
rotationtransformrotation axis
Object point of rotation unknown
Im trying to make a tank. Im using the transfrom.LookAt to make the barrel always point to the player, but the top of the tank is rotating from an unknown pivot. Its somewhere to the front-right of it, and I have no other transforms that are around that area. I made the model in sketchup and tried to move it around to change where it is relative to the origin, but nothing changed.
Comment
Best Answer
Answer by toromano · Nov 06, 2015 at 05:36 AM
You can simply select "pivot" and "local" from editor as shown in the figure to check where is your pivot's position and how it is oriented. If It's not right, you can use a dummy parent gameobject for your barrel or edit pivot in the sketchup again Hope that helps.
pivot.png
(6.3 kB)