Home › Forums › General Questions › Limit paning of a orbit camera
- This topic has 8 replies, 2 voices, and was last updated 1 year, 10 months ago by
vjecht169.
-
AuthorPosts
-
2023-04-04 at 7:25 pm #61701
vjecht169
CustomerHello,
still the same app as in a topic before:Now I would like to limit the camera panning to the surrounding sphere, so that you can’t leave this area with the camera.
I have now searched the forum for various solutions to this and have so far found a single Maya solution (I use 3dsMax myself) that I don’t understand and can’t replicate.
Is there a way to limit camera panning on orbitcameras ( I know it works on first-person through collision materials) ?
Or is there possibly a workaround.
Thanks for the help :)
-
This topic was modified 1 year, 10 months ago by
vjecht169.
2023-04-04 at 8:25 pm #61704kdv
ParticipantThere are a lot of topics about how to limit the scene camera panning. This one is the most useful
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-04-04 at 9:35 pm #61705vjecht169
CustomerHm, according to the link there is unfortunately no good solution at the moment ?!
So then I guess I should integrate a button ,that automatically resets the camera to the origin – in case someone navigated out….
Now I just have to figure out how ;)
2023-04-04 at 9:50 pm #61706kdv
ParticipantYou can try to limit the max distance between the camera and the center of that big sphere…
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-04-04 at 9:59 pm #61707vjecht169
CustomerYou can try to limit the max distance between the camera and the center of that big sphere…
Ok thanks a lot, that sounds good, but how can I implement that e.g. with the help of puzzles?
2023-04-04 at 10:46 pm #61708kdv
ParticipantUse the
constraint
puzzle
https://www.soft8soft.com/docs/manual/en/puzzles/Animation.html#limit_transformNot perfect but better than nothing )))
https://v3d.net/hrtPuzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-04-04 at 11:01 pm #61709vjecht169
CustomerNot perfect but better than nothing )))
https://v3d.net/hrtWow, but ahemm, how did you get the data of my file?
and more important: can you give me also the puzzle?
I tried it with the limit distance but it didn’t work ;)
Perhaps because I’am still a beginner…-
This reply was modified 1 year, 10 months ago by
vjecht169.
2023-04-04 at 11:04 pm #61710kdv
ParticipantWow, but ahemm, how did you get the data of my file?
Simply downloaded the files
and more important: can you give me the also puzzle?
You’d better place your town more symmetrically relative to the sphere’s center.
And fix the geometry
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-04-04 at 11:23 pm #61714 -
This topic was modified 1 year, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.