# I want the PVector after rotate

**URL:** https://discourse.processing.org/t/i-want-the-pvector-after-rotate/30744
**Category:** Coding Questions
**Created:** [June 16, 2021, 5:48pm UTC](https://discourse.processing.org/t/i-want-the-pvector-after-rotate/30744 "2021-06-16T17:48:55Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [June 17, 2021, 10:40am UTC](https://discourse.processing.org/t/i-want-the-pvector-after-rotate/30744/4 "2021-06-17T10:40:50Z")

</div>

Hello,

> [@zang](#):
>
> pvector.rotate(4 parameters);it wont work but still thanks a lot.

You need to go through the tutorials and references.

I did a project with the BNO055 and used quaternions:  
[https://discourse.processing.org/t/quaternions-and-euler-rotations-exploration/11262/1](https://discourse.processing.org/t/quaternions-and-euler-rotations-exploration/11262/1)

This took some time, energy, research, perseverance and enthusiasm to code and I finally got there.

_I am no longer sharing the code for this._

This was a useful resource for conversions:  
[https://www.euclideanspace.com/maths/geometry/rotations/conversions/index.htm](https://www.euclideanspace.com/maths/geometry/rotations/conversions/index.htm)

There are many examples on the Internet of such conversions and examples for these devices.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/i-want-the-pvector-after-rotate/30744)._
