You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/core/src/main/java/dev/slimevr/VRServer.kt
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,21 @@ class VRServer @JvmOverloads constructor(
182
182
instance =this
183
183
}
184
184
185
+
/**
186
+
* TODO: The design of this method is chosen for future expandability in case we want to have more complex velocity policies that depend on tracker properties or other config values.
187
+
* Initiates the velocity policy application process for the specified [Tracker] (or all trackers if null).
188
+
*
189
+
* This method serves as the initiator.
190
+
* The actual policy logic is not handled here,
191
+
* but is delegated to [dev.slimevr.config.VRConfig.applyVelocityPolicy].
* Allows to enable/disable sending of optional derived velocity data via Protobuf.
5
+
* Enables Natural Locomotion Support
6
+
* May create overprediction in certain titles causing excessive jitter when moving upper body.
7
+
*/
8
+
classVelocityConfig {
9
+
var sendDerivedVelocity:Boolean=false// Disables derived velocity for all trackers. Driver zeroes out velocity if nothing is returned in protobuf message.
0 commit comments