How to apply rotations for seperate object's axis?
cont = bge.logic.getCurrentController()
own = cont.owner

#Set orientation to euler!
orientation = own.worldOrientation.to_euler()
#Set up orientation of each axis
orientation.x = 0.0
#Apply rotation
own.worldOrientation = orientation


Here is the code that resolves the problem! It absolutely works