if i have two entities which start movement at e1 and e2 and the next frame they are positioned at the end of the arrows, is there a collision triggered when they meet in-between a frame but don't touch each other at the beginning or end of the movement?
Re: collision in-between a frame?#12207 03/27/0323:4403/27/0323:44
it could be possible thru vector-mathematics, but i dont know exactly how to do it(just a hint)
www.earthcontrol.de quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: collision in-between a frame?#12208 03/27/0323:5703/27/0323:57
www.earthcontrol.de quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: collision in-between a frame?#12209 03/28/0300:5403/28/0300:54
quote:Originally posted by mudhole: Or use vector maths to determine the collision point. Not really too difficult -> just the intersection of two lines.
Line intersection won't help much. Better use extruded spheres. This may sound complicated, but is not. Gamasutra has an article on this in its archives.
Re: collision in-between a frame?#12212 03/28/0305:1003/28/0305:10
... and if i do a trace and an entity passes this ray in-between a frame does it trigger an event then? does this trace ray stay there during all the entity movements until the next frame gets drawn?