22 lines
499 B
Markdown
22 lines
499 B
Markdown
|
# OSCCollar
|
||
|
|
||
|
## Install on Avatar (Unity)
|
||
|
|
||
|
* Download latest Release.
|
||
|
* Import `GPSRoot.prefab` into Unity, place under Armature.
|
||
|
* Add Contact Sender to end of leash. Set "Collision Tags" to "Custom" -> `GPS`
|
||
|
|
||
|
## Run program (example `config.json`)
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"Ip": "127.0.0.1",
|
||
|
"PortSend": 9000,
|
||
|
"Radius": 100.0,
|
||
|
"WalkStretchDeadzone": 0.1,
|
||
|
"RunStretch": 0.4,
|
||
|
"CalibrationValues": 128,
|
||
|
"LeashStretchParameter": "Leash/Leash_Stretch",
|
||
|
"LeashToggleParameter": "Leash/Toggle"
|
||
|
}
|
||
|
```
|