# Can't make image rotate around it's own axis

**URL:** https://discourse.processing.org/t/cant-make-image-rotate-around-its-own-axis/37956
**Category:** Coding Questions
**Created:** [July 15, 2022, 12:10am UTC](https://discourse.processing.org/t/cant-make-image-rotate-around-its-own-axis/37956 "2022-07-15T00:10:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ultimakey](https://avatars.discourse-cdn.com/v4/letter/u/b38774/32.png) [@ultimakey](https://discourse.processing.org/u/ultimakey)
#### Post date: [July 15, 2022, 12:10am UTC](https://discourse.processing.org/t/cant-make-image-rotate-around-its-own-axis/37956/1 "2022-07-15T00:10:18Z")

</div>

Hello! I want to make a 2D game with a top view where you control a car and you have to park it. But I can’t make the car rotate around it’s axis. I’ve tried placing in the translate the car coordinates, but I can’t make it work. Somebody please help me, it’s driving me crazy!!

Here’s my code: [tecnomultimedia/tp3 at tp3 · marteeen-debug/tecnomultimedia · GitHub](https://github.com/marteeen-debug/tecnomultimedia/tree/tp3/tp3)

---

<div class="post-metadata">

### Author: ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)
#### Post date: [July 15, 2022, 3:08am UTC](https://discourse.processing.org/t/cant-make-image-rotate-around-its-own-axis/37956/3 "2022-07-15T03:08:23Z")

</div>

Hi

[![](https://img.youtube.com/vi/hsAiIytWf-I/maxresdefault.jpg "Processing Tutorial: Lesson 20 - Images, Rotations, and Translations Part 1") ](https://www.youtube.com/watch?v=hsAiIytWf-I)
