I have a small problem with parenting.
The default parameter of KX_GameObject.setParent() sets the child to be ghost while parented (acording to the BGE API).
This is not a big deal. Unfortunatly, I want to use that for the SaveLoader.
So when the stored state is restored the objects will be parented as it was at storing.
The effect is the the breviously non-ghost object is now a ghost.
I can’t find a function in the API to check if an object is ghost or not.
Does anyone knows how to check if an object is ghost while running the BGE?
Maybe I’m just blind and do not see it.