entity or shape's orientation question.

Nov 27, 2011 at 2:29 AM
Edited Nov 27, 2011 at 2:30 AM

thanks for your attention. i have a problem.

when i want to create a son entity with a certain orientation relative to a created entity using the property of "/Orientation: 90 90 0" of Entity, the result confused me.

"/Orientation: 90 0 0 "maybe means the son entity rotates 90 degrees around the X-axis of the parent entity, but what does "/Orientation: 90 90 0" mean.

according to my results,that maybe is not the meaning of rotating 90 degrees around X-axis and then 90 degrees around the Y-axis of the parent entity.

Can you tell me how to use the "/Orientation:  " in details ,thank you very much in advance. 

 

 

//Px,Py,Pz,Ox,Oy,Oz and linkmodule,ParentPart  are variables 
//they have values when the code underneath are executed

AddNewEntity    {"UBotID"+linkmodule+"P00"} 	
/Position:{Px}    {Py}    {Pz}	
/ParentEntity:{ParentPart}
/Orientation:{Ox}    {Oy}    {Oz}	
/DefaultTexture:"ground2.bmp"