A
A
Alexander2020-11-22 18:28:13
css
Alexander, 2020-11-22 18:28:13

How to limit camera movement on z-axis?

There is an object in the center of the scene and you need to make sure that the camera cannot enter the object. In principle, it is enough to limit the camera zoom to a certain radius. Simply put, limit the zoom.

How to do it?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Alexey, 2016-09-26
@alsopub

I bet on the visible font size.
If it is less than some threshold, then the page is not readable, therefore, it is not adaptable.

K
Kirill Kublyakov, 2016-09-26
@Kublyakov

Well, logically, he suggests adapting only non-responsive pages, if the page is adapted by the developer for mobile devices, then Google will not offer to adapt it.

X
xmoonlight, 2016-09-26
@xmoonlight

He most likely defines it like this:
1. container containing the main content: DIV size after the page is fully loaded
2. main / main menu of the site: looks for branches (nodes) with enumerations of containers inside containing URLs and looks for the list of links to contain one link with root of the domain, and all the rest were in the same domain, but with different URLs immediately after the root of the domain.
and if he managed to do this, then he displays a button and offers to optimize.
Those. leave only p1 and p.2, and hide the rest.

A
Alexander Bukhalo, 2016-09-26
@evilsprut

I'm not sure, but most likely meta tags are used for verification. First of all, this is the viewport, then MobileOptimized and HandheldFriendly.

D
DEFUNK, 2016-10-06
@DEFUNK

Most likely by analogy with the Safari browser... Try to enclose in a tag<p>

Z
zakvolz, 2020-11-26
Madzhugin @Suntechnic

const controls = new OrbitControls(camera, renderer.domElement);
controls.minDistance = *valueMin*;
controls.maxDistance = *valueMax*;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question