[NOT A BUG] disappearing enemies

Post any Bug Reports here
Post Reply
DiViNiTY
Posts: 10
Joined: Mon Oct 02, 2006 6:12 pm
Contact:

[NOT A BUG] disappearing enemies

Post 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
User avatar
GMer
Posts: 329
Joined: Thu Oct 25, 2007 4:49 pm
Location: On the rock in the 3rd solar orbit.

Re: disappearing enemies

Post 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
Over 3 years (has it been that long?) and just now I noticed the day and month of my birthday were switched. Whoops!

Some 2d games I made, haven't made anything in a year though O.o
http://www.yoyogames.com/users/GMer56
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: disappearing enemies

Post by Juutis »

Make the bounding box larger.
Pain is only psychological.
DiViNiTY
Posts: 10
Joined: Mon Oct 02, 2006 6:12 pm
Contact:

Re: disappearing enemies

Post 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
Post Reply