|
2 registered members (AbrahamR, AndrewAMD),
1,278
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
collision in-between a frame?
#12206
03/27/03 18:23
03/27/03 18:23
|
Joined: May 2002
Posts: 7,441
ventilator
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2002
Posts: 7,441
|
code:
^ | | | | e1-----------+---------------> | | | | e2
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?
#12211
03/28/03 05:02
03/28/03 05:02
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
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.
|
|
|
|
|
|