Hi.
I've made a simple labyrinth. One labyrinth unit consist of 6 triangles ( 3 square - floor and 2 walls ). Now I can walk along on it, but I can walk through the walls.
I've made an collosion detection algorithm, but I think it is not so good. (it doesn't like me) I've stored the floors coords (squares) and I check, if the EyePoint inside these square or not.
Do anybody know a better way to calculate collosion?
(I've read a lot of articles, they calculate something with normals, but it was not so clear to me)
best regards,
Kirilla
I've made a simple labyrinth. One labyrinth unit consist of 6 triangles ( 3 square - floor and 2 walls ). Now I can walk along on it, but I can walk through the walls.
I've made an collosion detection algorithm, but I think it is not so good. (it doesn't like me) I've stored the floors coords (squares) and I check, if the EyePoint inside these square or not.
Do anybody know a better way to calculate collosion?
(I've read a lot of articles, they calculate something with normals, but it was not so clear to me)
best regards,
Kirilla