Thank you Thomas
Using camera=0 caused my cone not to do rotations related to the camera position. 
Cone still rotates not about itself, but about axis of global coordinate system.
Do you have any other ideas?

Cheers, 
   Paweł


2014-02-06 17:00 GMT+01:00 Thomas Holder <thomas.holder@schrodinger.com>:
Hi Pawel,

have you tried using the camera=0 argument?

cmd.rotate(axis, angle, object='yourcone', camera=0)

Cheers,
  Thomas
 
On 05 Feb 2014, at 15:46, Павел Томашевский <crooveck@gmail.com> wrote:

> Hello
> I've made a cone CGO (something like a pointer) and now I need to make a rotation of the cone. I have got yaw, pitch and roll angle values, but when I do 'rotate' command it rotates about axis of the global coordinate system.
>
> My question is, how to make a rotation of the CGO about axis that is NOT of the global pymol coordinate system but goes through the CGO itself?
>
> I hope it's clear what I mean ;)
>
> Thank you
> Pawel


--
Thomas Holder
PyMOL Developer
Schrödinger, Inc.