С подсказки Razeil:
Code
public void animate()
{
if(player.car)
{
Vector3 CarVector = player.car.getPos();
Ypr CarYpr = player.car.getOri();
setMessage( "Pos: X: " + CarVector.x + ", Y: " + CarVector.y + ", Z: " + CarVector.z + ", \n Ori: Y: " + CarYpr.y + ", P: " + CarYpr.p + ", R: " + CarYpr.r );
}
}