Hello! I have made a primitive VRML-viewer in java3d. Partly I do not understand the code I have written or am using... Now, what I want to do is the following. In my VRML-viewer I want to watch a number of buildings from a city. The ground will be flat. However, presently if I hit into a wall I will just pass straight through it. I do not want that to be the case. I want the walls to be solid. I can imagine two sorts of solutions to this. 1) Somehow I get the vrml part of the scene graph to react whenever there is a WakeupOnViewPlatformEntry condition. And then the viewpoints position should be reset to its previous position. So somehow the viewpoints positions have to be stored somewhere. 2) I should create some kind of avatar, possibly a sphere, and this sphere should always follow the viewpoint as I walk around in the city. And whenever this sphere collides with any of the buildings in the city it, and the viewpoint, should be reset to its previous position. Of these two alternatives alternative 2 strikes me as the preferable one. Partly because I will be able to adjust how close to a building the viewpoint is being allowed to move by adjusting the radius of the sphere. And partly because it seems to me a cleaner programming design. But in sum, even if I am able to outline these two solutions I feel rather clueless regarding how to implement them. And implement one of them I must. Tips will be welcome. Best regards Thomas =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
