7
$\begingroup$

In the following scene, I have a camera parented to a missile. When the missile collides with any collision mesh, it disappears. The logic setup is pictured below.

logic setup of missile.
However, when the missile disappears, blender crashes. Why does this happen and how can I fix this?

$\endgroup$
  • $\begingroup$ you should probably report this as a bug at developer.blender.org $\endgroup$ – BlendingJake Nov 17 '14 at 0:35
  • 1
    $\begingroup$ @X-27 Ideally blender wouldn't crash, even when given nonsensical things to do, so on that point I agree it could be considered a bug. It's indeed nice to have a workaround/correct solution for other users looking on google, and closing the question won't interfere with that. It will still be here. $\endgroup$ – gandalf3 Nov 17 '14 at 6:55
13
$\begingroup$

This happens because the camera is parented to the missile. When the missile disappears, so does the camera. When the camera disappears, there is no longer anything sending the output to the display. This creates the problem, because blender can't update the display, and Blender crashes. You can fix this by having a scene actuator to set the camera to a different one. Then there will still be something sending output to the display. Logic setup below. fix logic problem

$\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.