make follow-rotation mode an absolute value

instead of proportional to interaction sphere of anchor node.
can be overridden by a node if one so wishes.
This commit is contained in:
Joakim Kilby
2024-02-02 10:23:16 +01:00
parent 0169c0ea3e
commit 5c1946d4f2
3 changed files with 25 additions and 1 deletions

View File

@@ -136,6 +136,8 @@ public:
double reachFactor() const;
double approachFactor() const;
double followRotationDistance() const;
bool supportsDirectInteraction() const;
SceneGraphNode* childNode(const std::string& id);
@@ -212,6 +214,7 @@ private:
properties::DoubleProperty _screenSizeRadius;
properties::FloatProperty _visibilityDistance;
properties::BoolProperty _supportsDirectInteraction;
properties::DoubleProperty _followRotationDistance;
// This variable is used for the rate-limiting of the screenspace positions (if they
// are calculated when _computeScreenSpaceValues is true)