How to focus always entrance view of the model in hoops communicator


i need to find it is entrance view and focus the door. and walk from there.

Hi @raja.r ,

Do you mean you’d like to position the camera in front of the entry door and set the walk operator from that position?

If so, you could do this by saving the camera for the initial view of the front door that you’d like using view.getCamera(). Then, you can set that view when you want the behavior you describe with view.setCamera() and activate the Walk operator.

Here’s a simple example: https://3dsandbox.techsoft3d.com/?snippet=2be8ThCxljaFswONmA6moqv6
(Click the “Run” button in the upper left of the page, then click the “Walk” button in the Web Viewer to see the behavior.)

If this is not what you meant or you have any additional questions, please let me know.

Sincerely,
Beau

(PS: Happy birthday!)

1 Like