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
[NOT A BUG] disappearing enemies
[NOT A BUG] disappearing enemies
DiViNiTY MUSIC:
http://www.myspace.com/divinity002
http://www.myspace.com/divinity002
Re: disappearing enemies
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
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
Some 2d games I made, haven't made anything in a year though O.o
http://www.yoyogames.com/users/GMer56
Re: disappearing enemies
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.
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.
DiViNiTY MUSIC:
http://www.myspace.com/divinity002
http://www.myspace.com/divinity002