How can i rotate some object on all axis x,y,z and also to all directions ?

Mistake with code and question. Sorry.

Huh?

Ok, first off the method you’re calling is:

Specifically this overload:

public void Rotate(Vector3 axis, float angle, Space relativeTo = Space.Self);

The parameters of which are:

So you pass in an axis of (360,360,360) and an angle of deltaTime * roationSpeed.

That ‘axis’ vector does not represent the various euler angles. It represents a vector in 3-space around which to rotate.

So like <1,0,0> would rotate around the x-axis.

But <1,1,0> would rotate around a vector pointing 45 degrees between the x-axis and the y-axis.

Now as to what you desire.

I have no idea what you mean by rotating around yourself on all axes.

Like you mean that say the speed worked out to 15 degrees per tick. You’d rotate from 0,0,0 to 15,15,15?

Note… such a rotation will still look like it rotated around a single arbitrary axis… not all axes.

Maybe… give is a picture of what you mean?