Skip to main content

Configuration

After running OSC Pickup at least once, you'll find a file named Config.json in the same folder as the executable.
You can edit this to change the behavior of the app. Below you can find info about what each setting does.

Config Settings​

OSC​

ValueInfoDefault
IPAddress to send/receive OSC data127.0.0.1
SendingPortPort to send OSC data to9000
ListeningPortPort to listen for OSC data on9001
UseOSCQueryEnables OSCQuerytrue

Playspace​

ValueInfoDefault
ResetToZeroReturns the playspace to 0,0,0 when movement stopstrue
InvertedSpaceFlips XZ movement. Some playspaces are flipped.false

Movement​

ValueInfoDefault
AccelerationSpeedBase multiplier for pull acceleration10
StretchCurveExponent applied to stretch for exponential pull (1.0 = linear)1.6
MaxVelocityMaximum movement speed cap12
DeadzoneMinimum Stretch % required to start moving0.005
SmoothingBlends current and target velocity for smoother movement0.1
DragDampens overall momentum0.6

Locomotion Freezeing​

This is niche, and a prefab for this is not yet included in 1.0. If you have gogoloco freeze you can set that value here.

ValueInfoDefault
FreezeLocomotionEnabledSends an OSC signal to freeze VRC locomotion while grabbedfalse
FreezeLocomotionParameterThe avatar parameter used to trigger the locomotion freezeParam

Throwing & Gravity​

ValueInfoDefault
ThrowingEnabledAllow momentum to persist when droppedfalse
GravityStrengthAcceleration rate of gravity (Set to 0 to disable)8.81
TerminalVelocityMaximum falling speed16

Performance/Misc​

ValueInfoDefault
ActiveDelayMsDelay in ms between physics updates while active8
InactiveDelayMsDelay in ms while idle200
ExtraOutputLogsEnables console logging for physics and OSC outputfalse

Physbone n Contact settings.​

ValueInfoDefault
PhysboneParameterThe root parameter name for your pickup physbonePickup
DirectionalParametersA list of contacts to use for direction calculationPickup_##


Example JSON​

{
"IP": "127.0.0.1",
"SendingPort": 9000,
"ListeningPort": 9001,
"UseOSCQuery": true,

"ResetToZero": true,
"InvertedSpace": false,

"AccelerationSpeed": 10,
"StretchCurve": 1.6,
"MaxVelocity": 12,
"Deadzone": 0.005,
"Smoothing": 0.1,
"Drag": 0.6,

"FreezeLocomotionEnabled": false,
"FreezeLocomotionParameter": "FreezeLocomotion",

"ThrowingEnabled": false,
"GravityStrength": 9.81,
"TerminalVelocity": 16,

"ActiveDelayMs": 8,
"InactiveDelayMs": 200,
"ExtraOutputLogs": false,

"PhysboneParameter": "Pickup",
"DirectionalParameters": {
"Z_Positive_Param": "Pickup_Z+",
"Z_Negative_Param": "Pickup_Z-",
"X_Positive_Param": "Pickup_X+",
"X_Negative_Param": "Pickup_X-",
"Y_Positive_Param": "Pickup_Y+",
"Y_Negative_Param": "Pickup_Y-"
}
}