Original Post
Hi there folks. A while back, I was researching into getting virtual insects (spiders at the time) to walk across a surface realistically. The thread I posted about that can be found here : Crawling Across an Arbitrary Surface. Because of other things (including converting everything over to a much more powerful graphics engine), its only now that I'm back to this problem. Now I realise that this isn't an easy problem, and that getting spiders to realistically move their legs over the edge of even a simple object like a cube is a difficult task. This is why I'm researching into it for my Thesis. So therefore, I want to progress one step at a time :) The first step is to get an object (lets say a sphere) to move across the surface of another object. This 'surface' object can be simple at first, but eventually can be anything from a terrain object to a cup, hand, kitchen table etc.
Above you can see an example of what I have in mind for a first step. The green sphere is moving across the surface of the larger sphere, which is its 'environment'. The (character) sphere is always touching the surface of the larger (surface) sphere, and its up vector is equal to the normal of the polygon its currently standing on. Because an insect (arachnid) is almost always parallel to the surface, it really moves in 2D (it can't move off the surface, only forward/backward/steer). So what I'm wondering is does anyone have any ideas / comments / help as to how I would go about doing this? I haven't got much experience with the mesh structures of polygonal objects, and I imagine that its pretty vital in doing this sort of thing. Perhaps a sphere isn't the first step - a simple terrain where the creature moves across its surface would be better, as long as its general enough so that it can then be extended to more '3D' objects? I would be very grateful for any help. :) Cheers, SFA.
Above you can see an example of what I have in mind for a first step. The green sphere is moving across the surface of the larger sphere, which is its 'environment'. The (character) sphere is always touching the surface of the larger (surface) sphere, and its up vector is equal to the normal of the polygon its currently standing on. Because an insect (arachnid) is almost always parallel to the surface, it really moves in 2D (it can't move off the surface, only forward/backward/steer). So what I'm wondering is does anyone have any ideas / comments / help as to how I would go about doing this? I haven't got much experience with the mesh structures of polygonal objects, and I imagine that its pretty vital in doing this sort of thing. Perhaps a sphere isn't the first step - a simple terrain where the creature moves across its surface would be better, as long as its general enough so that it can then be extended to more '3D' objects? I would be very grateful for any help. :) Cheers, SFA.
