Hi,
I'm trying to learn the 3D command set and am stuck at collisions. I have a basic understanding of object to object collisions using spheres or squares but the problem occurs when I try to detect collision between an object and a polygonal landscape modeled in a 3D program (not using terrain commands).
As I understand it, since the landscape has hills, cliffs, overhangs, etc. I must use polygonal collision via "entitiesintersect()" but that command doesn't allow for reactions to the collisions: stop, slide, etc.
I understand this would be easier if I used terrains but I need better control over the modeling and texturing of the landscape than the terrain commands offer.
The idea is to build the world in 3D Studio Max and be able to move a character around that world, giving full sliding collision on obstacles. I'm trying to dissect the castle demo at the moment but since the tutorials are written in non-commented spaghetti code >:( it's taking a long time.
Any help or ideas would be appreciated. Thanks!
I'm trying to learn the 3D command set and am stuck at collisions. I have a basic understanding of object to object collisions using spheres or squares but the problem occurs when I try to detect collision between an object and a polygonal landscape modeled in a 3D program (not using terrain commands).
As I understand it, since the landscape has hills, cliffs, overhangs, etc. I must use polygonal collision via "entitiesintersect()" but that command doesn't allow for reactions to the collisions: stop, slide, etc.
I understand this would be easier if I used terrains but I need better control over the modeling and texturing of the landscape than the terrain commands offer.
The idea is to build the world in 3D Studio Max and be able to move a character around that world, giving full sliding collision on obstacles. I'm trying to dissect the castle demo at the moment but since the tutorials are written in non-commented spaghetti code >:( it's taking a long time.
Any help or ideas would be appreciated. Thanks!