Sie sind nicht angemeldet.

1

Mittwoch, 6. November 2019, 02:40

Camera range limitation

Is there a way to limit the moving range when moving the camera using the arrow keys and the asdw key? If possible, please let me know how.

2

Freitag, 8. November 2019, 16:17

<events onviewchange="clamp(view.tx,-1000,+1000); clamp(view.tz,-1000,+1000);" />

*thumbsup*

3

Dienstag, 12. Mai 2020, 18:16

Where do you add this clamp ?


I want to avoid moving too much and going trough walls but i can't seem to find a solution.

Thanks,
Guillemro

4

Mittwoch, 13. Mai 2020, 10:15

Are you using depthmap_navigation.xml ?? Using navigator.js solves it.

5

Mittwoch, 13. Mai 2020, 11:32

Where do you add this clamp ?


I want to avoid moving too much and going trough walls but i can't seem to find a solution.

Thanks,
Guillemro
another xml files.
Where do you add this clamp ?


I want to avoid moving too much and going trough walls but i can't seem to find a solution.

Thanks,
Guillemro

6

Donnerstag, 14. Mai 2020, 15:47

kangj2277,

I don't have navigator.js, Maybe that's from everpano ?

7

Freitag, 15. Mai 2020, 09:55

kangj2277,

I don't have navigator.js, Maybe that's from everpano ?


That's right. If you use depthmap_navigation.xml without purchasing everpano, you can limit the camera movement range by adding only the above events. Just add it to tour.xml or included xml :)