- Home /
Temporarily move object specific distance along own axis
I have an object attached to the edge of a circle rotating around. I want the object to move a small bit to each side, but on it's own axis, not the world.
So basically:
Press D: {
Object jumps to a position slightly to the right, on it's own axis }
D is released {
Object goes back to original position }
Likewise for A. All the while this object is rotating around on the edge of a large circle
Thanks in advance!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612080450im_/https://answers.unity.com/themes/thub/images/avi.jpg)