# Moving a Object3d based on the camera rotation in a imaginary circle

**URL:** <https://discourse.threejs.org/t/moving-a-object3d-based-on-the-camera-rotation-in-a-imaginary-circle/24172>\
**Category:** Questions\
**Tags:** positioning\
**Created:** [March 8, 2021, 10:30am UTC](https://discourse.threejs.org/t/moving-a-object3d-based-on-the-camera-rotation-in-a-imaginary-circle/24172 "2021-03-08T10:30:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enzo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/enzo/32/4656_2.png) [@Enzo](https://discourse.threejs.org/u/Enzo)\
**Post date:** [March 8, 2021, 10:30am UTC](https://discourse.threejs.org/t/moving-a-object3d-based-on-the-camera-rotation-in-a-imaginary-circle/24172/1 "2021-03-08T10:30:20Z")

</div>

I’m not good at math, if someone can help to achieve this behavior will save my day.

I have a Sprite that have to be positioned as close as possible to the camera. So the idea is to draw an imaginary circle (the red one) and if the camera rotates then we should relocate the Sprite.

Two screenshots to understand better:  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/f/c/fce4bc530cb2cf4c623e9f14384e63fef07fc785.jpeg)

![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/b/6/b63f6eb6bc6252f10dbdc8d73ab8472888b102dd.jpeg)

Basically I’m trying to achieve an offset like to the Sprite. But apparently is not possible natively.  
Here is my other post:

> [@How to offset sprite rather than texture](https://discourse.threejs.org/t/how-to-offset-sprite-rather-than-texture/22637/5):
>
> I can make a PlaneGeometry that faces the camera to simulate a sprite. But have no idea how to change the geometry to achieve the offset/pivot-point effect. Any example?

Not sure if this is a better approach than the pivot point mentioned by @Mugen87. At the end I just want to represent the life of the soldier in my game. But I’m struggle with this for several weeks.  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/8/9/89d13bd2fd3e0506f514a7445fccde4f31b84541.png)
