So, I’ve got my little dude, lets call him bob, and he’s walking around a landscape using a pick-ray in front of him to find the level of the ground and move up or down accordingly. Looks fine, although his uphill foot sinks in a bit if he is walking across a slope. Now it’s time to complicate matters.
Lets suppose I need to put objects and structures in the world and make them interact with bob in some way. I guess I’m talking about collision detection. How is it best to go about this?
As far as I can tell, the main ways are either to use bounding and picking to handle my collisions or to do something more code-based and take the whole thing out of java3D’s hands altogether- using a map-based system or similar. I’m not really sure how good Java3D is as far as this is concerned- Selman suggests that for anything bigger than a few objects it is worth taking it out of Java3D- if I need to do this, does anyone have any thoughts, ideas or links to tutorials about to how best to get started? If not, are there any tips for how best to implement it through J3d?