|
|
I'd like to know how to make it so if you move a certain distance, say one or two meters from a viewpoint it disconnects you from that viewpoint. Here is how...Make a proximity sensor and tell it that when the are is entered, start the animation and bind the viewpoint; when the are is exited stop the animation and unbind the viewpoint. First make a proximity sensor to define the boundary. You have already created a viewpoint and an animation so add them both as triggers to the proximity sensor. In fact, add each one twice so you can define what happens when the "box" is entered and what happens when the box is exited. When the proximity area is entered, start the animation: When the proximity area is entered, bind the viewpoint: When the proximity area is exited, stop the animation: When the proximity area is exited, unbind the viewpoint: Here is the .spz file Here is the .wrl file |
|