Jump to content

AI Inside Model Issue


Cobalt1

Recommended Posts

I have a dog cage that i want a the dog to be inside of, and stay inside of. The cage does not move. But i can't make him stay on top of the inside of the cage.

 

What i mean is the bottom of the cage is a few inches but he stands through that on top of the ground. I have tried raising the navmesh and all types of collision models. I've tried activator and furnature types.

 

Any suggestions?

Link to comment
Share on other sites

The bottom of the inside of the cage may not have any collision geometry, so the dog falls to where there is some (like the floor). You can view the collision geometry by pressing F4 in the GECK. If this is the problem, then just place a small collision plane over the area that needs collision (the inside floor of the cage). The collision plane can be made using the icon at the top right of the Geck toolbar, the one that looks like a square with a "C" inside of it. Press that button down then move the mouse to the render window, right-click-hold-drag-release to make the X-Y of the plane, then drag right-click for the Z component. Don't worry about the size as you can move, scale and rotate it once you are done making it.
Link to comment
Share on other sites

Great thanks! It almost works now, there is only one problem. The dog doesn't recognize the collision plane. I have a script on an activator (as a test) which makes the dog's Z coord go up by 20, and after pressing the button he lands on top of the collision plane (I've tried to put the script onto the dog on onLoad with no success).

 

I currently have the dog a few inches above the collision plane. I have tried making the cage every collision type (filter, bounding box...etc)

 

How can i make the dog recognize the collision plane on load?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...