I made a little Pointer to display velocity on a dashboard.
Since it seems that GameObjects always rotate around their Center (duh) i need an advice on how to optimize my script OR how to change the object's center
Well, to change the "center," I assume you mean the pivot point, in which, you'll have to use a 3D program to do that. However, a small work around is make an empty object, then make that object a child of it, and you can use that as the pivot point.
And I don't understand the other thing? Optimize script to do what?
Nevermind, don't bother answering i found it out :P
Attached the script to my Object and used
`Input.GetKey`
instead of
`Input.GetKeyDown`
and called the function in
`function Update()`
Thanks anyways justin :)
@bio, I agree with Justin but I also think you should let it go. There's no need to be calling out stuff like that. It'll just pollute the community even more if it stirs up the soup.
you should use better tags
– anon47167959