8) Pickupables and Physics - Create Your First VRChat World

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hello and welcome back to the  8th episode of this series. What if you want to pick up or throw things? This,  unsurprisingly, requires physics. Don’t worry, you   won’t have to do any calculus, this only requires  a simple understanding of a few components. Create a small cube. On that cube, click add  component, search for pickup, and click VRCPickup.   You should now see that there are two  components added, a rigidbody and VRCPickup. A pickup in VRChat requires 3-4 components:  [list] [*]Rigidbody: this calculates physics  [*]Collider: allows the collider  to collide with other colliders  [*]VRCPickup: so you can  grab/use the object in VRChat  [*]VRC Object Sync (optional): so the object can  be synced between players. Because each synced   object must have an owner, pickupables look fine  in your hand but look laggy if they were last held   by another player [/list] If you enable Is Kinematic, your object will only  be able to be moved by a player interacting with   it. It will not collide with other objects (though  other dynamic objects will collide with it),   and will not have physical forces applied to  it. This is a popular setting for pillows. Physics materials give objects more  realistic physical properties. You   can add them to the colliders of your  surfaces and pickupables to make them more   believable. A set of them is available  through the Unity 2018 Standard Assets. If you have multiple of the same pickuppable  objects, you’ll want to enable GPU instancing   on its material. This reduces the number  of drawcalls and increases performance. You can use multiple colliders for more accurate  collision; for example, for my glass bottles,   I start with a box collider, then shrink it  on the X and Z axes (you can drag on both the   positive and negative directions of the axis  simultaneously by holding alt). Then I add a   capsule collider and shrink it on the Y axis  until it aligns with the bottle. This allows   the bottle to roll but also stand up if  placed on its top or bottom. Note that   you will only be able to grab the first  collider that appears in the inspector. That’s it for this episode. In the  next lesson I’ll cover VRChat prefabs,   like videoplayers and pens!
Info
Channel: Iconoclass
Views: 27,753
Rating: undefined out of 5
Keywords: Tutorial, how to make a vrchat world, vrchat world, unity, vrchat, reflection probe, unity lighting, vrchat lighting, make vrchat world, unity materials, unity pbr, unity textures, unity modeling, vrchat modeling, probuilder, vrchat world tutorial, how to make vrchat world, vrchat world creation, how to make a world in vrchat, vrchat create world, vrchat unity, how to create a vrchat world
Id: dfjlVe0XXTU
Channel Id: undefined
Length: 2min 41sec (161 seconds)
Published: Thu Jan 06 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.