Page 1 of 1

[NOT A BUG] disappearing enemies

Posted: Fri Apr 09, 2010 8:49 pm
by DiViNiTY
Hi,
i have a problem with disappearing enemies.
watch here:
http://www.youtube.com/watch?v=fSBAy-gjP8Y

How can this be solved? (bounding box?)

plz help

Re: disappearing enemies

Posted: Fri Apr 09, 2010 11:52 pm
by GMer
The engine is clipping the 3d model, meaning making it so it doesn't have to render it.
I think it has been around forever

Re: disappearing enemies

Posted: Sat Apr 10, 2010 12:21 am
by Juutis
Make the bounding box larger.

Re: disappearing enemies

Posted: Sat Apr 10, 2010 2:38 pm
by DiViNiTY
I set a LARGE bounding box in the robot.s script in DEATH ORDER after SetNoCollision().

Death[()
{
DelTimerOrder(1);
AddPainOrder("PainToAlert", 0);
FindTargetOrder(0, "FoundTarget", DAMAGEATTRIBUTE);
DelTriggerOrder("IdleToAlert");
SetNoCollision();
BoxWidth(400);
AnimateStop(DIE, DIEHOLD, "");
FadeOut(DIEFADE, 0);
Remove(true);
}]


now it works without clipping. :D