-
Notifications
You must be signed in to change notification settings - Fork 1
Katydid Functionality
dalilab edited this page Mar 9, 2020
·
3 revisions
-
Two different versions of katydids: katydidsGround and katydidSapling (same models with different components)
- Ground Katydid spawn on floor, moves around, interactable but player can't move to ground
- Sapling Katydids spawn on saplings, does not move around, grabbable
-
Bug wander: Katydids on the floor have scripts attached that makes them scuttle around
- Script “Bug Wander” attached to “katydid” prefab
- Floor: the floor that it will walk on
- Bounding Box: katydid will stay within the X and Z of the bounds
- Katydid must have Rigidbody (enable use gravity, constrain rotation in X, Y, and Z direction), Box Collider
- Script “Bug Wander” attached to “katydid” prefab
-
Bugs grabbable:
- VRTK_Interactable Object component: check is Grabbable, Hold Button to Grab, Stay Grabbed on Teleport
- Model - Maya file, fbx file, animation file
-
Bug haptics:
- VRTK_Interact Haptics component: Haptics on grab uses an audio clip to vibrate controller
-
Sound:
- Two kinds of katydids: Human version and tarsier version of Cocconotus Wheeleri and Agracia Festae’s sounds
- Audio source attached uses Cocconotus Wheeleri
-
Human/Tarsier versions can be found here: https://drive.google.com/drive/u/0/folders/1lbnJ7iyckt4IiYtmRCbaiP7cZOJuBHM5
-
Right Controls Script on the RightControllerScriptAlias swaps human/tarsier versions of katydid sounds when switching between human and tarsier visions