Hi,
i have a bot that tracks any object that gets into its radar range and shoots it,
but when the object gets hit and dies(end object),
blender shuts down,
i have a feeling it shuts because the trackto is still locked on to the object and the object is gone,
the console showed this once when blender got shutdown
R6025 pure virtual function call
py guruz can u figure it out ?
basically i want the bot to track the object ,shoot at the object and kill it,then move on…
it seems more like a bug to me,cuz the trackto actuator or the radar sensor,whichever is causing this,should ideally switchoff if the tracked object ends rather than shutting down the software,
hmm
maybe you could have a the object send a message before the object ends and when the bot gets the message it could move on somehow?
could you post a .blend
if the object, which is “dying” has some properties set to debug (“D” character in Physics window), it will crash Blender. So turn off all debuged properties on die-able objects.
This specific case should be covered in 2.46: I’ve added support to avoid crash when the target object of a TrackTo actuator dies. It worked well in my test game but maybe not in yours. Post a blend and I will look at it.
it is fixed,but ill post the blend when i get home,
hmm,if u did fix it and it worked in the test game,maybe then i screwed up somewhere,
anyway,have a look at the blend when i post it,
tc