Skip to content

ThatFatKidsMom/Avatar-Prop

Repository files navigation

Avatar prop

Twitter URL

Derivative work of contact trackers to create a prop on an avatar that remote players can grab, rotate, and drop in the world.

Installation

Video

  • Import the latest VRChat SDK, prerequisites listed below, and most recent release
  • Drag the "Avatar prop" prefab into the heirarchy
  • Right click on the prefab to unpack it and then drag it onto the base of your avatar
  • Move the "Reset position" to the base of your avatar
  • Enable the "object container" game object and place your desired prop into it
  • Position your prop to be grabbed at the same location of the handle of the example sword and oriented in the same way
  • Move the "Reset position" to determine where you want the prop to be placed when initially enabled
  • Hide the "object container"game object.
  • Merge the provided FX controller with yours using the VRLabs Avatar 3.0 manager
  • Click the checkbox within the AV 3.0 manager to the right of the "AvatarProp/Enable" parameter to sync it
  • Set WD settings according to your animator
  • Create a toggle in your menu to enable the system using the "AvatarProp/Enable" parameter

How it works

A physbone and series of constraints control position of the prop. Contact trackers are placed on the ring and middle finger of the hand of whoever grabs the prop and aimik references the contacts being tracked in order to orient the prop as if it were being held in the hand.

That means the other person needs to have a ring and middle finger contact on their hand

Prerequisites

VRLabs FinalIK stub or Final IK
VRLabs Avatar 3.0 manager

Credit

VRLabs
Red
Dreadrith
Sophia

License

MIT

Contact

If you need help with something you can message me on discord at ThatFatKidsMom

About

Prefab to spawn in props that can be moved and rotated by other players

Resources

License

Stars

Watchers

Forks

Packages

No packages published