0
$\begingroup$

I am working on a game, and one particular object disappears when I press "P" to start the game engine. The scene this problem is occurring in was copied from another scene, and this problem didn't happen in the original scene that I copied from. Changing the normals had no effect, invisibility is turned off in the physics, and this object has no keyframes. All the other objects in the scene are visible. I am using version 2.69 of Blender. Any solutions you can provide would be greatly appreciated.

$\endgroup$
  • $\begingroup$ Uncheck restrict rendering in the outliner. $\endgroup$ – X-27 the fluffy unicorn Jul 2 '16 at 1:17
  • $\begingroup$ A typical cause: * one of the objects parents is not present $\endgroup$ – Monster Jul 4 '16 at 3:56
  • $\begingroup$ If the object is a plane, make sure you are rendering the back face in the materials tab. $\endgroup$ – Billy S Oct 2 '16 at 20:10
1
$\begingroup$

The object might be located somewhere else. So it is not visible to the camera.

Check the existence and the location with this code:

import bge

name = "Cube"

object = bge.logic.getCurrentScene().objects[name]
print("Object", object.name, "is at", object.worldPosition)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.