A Beginner's Guide to Making VR Buttons

Justin P Barnett • March 19, 2021
Video Thumbnail
Justin P Barnett Logo

Justin P Barnett

@justinpbarnett

About

I used to talk a lot about VR development. Now I'm documenting my real-time journey as an adult pursuing a classical education, studying ancient languages, rediscovering original teachings, raising curious kids, and building analog thinking systems. If you're into deep learning, faith, parenting, or just honest curiosity—welcome.

Video Description

Let's use some joints and physics to interact with the virtual world using...BUTTONS! Hey, devs! Buttons are one of the primary ways that players interact with the world. In this video, we use a configurable joint and two cylinders to fire "Pressed" and "Released" events that can be used to do any number of actions, from turning off and on lights and doors to activating a rocket launch! Give it a shot, and let me know what you use your buttons for! 📂 Download the Project: https://www.skool.com/vrcreatorclub/classroom/8c2bc133 📺 Watch Next: https://youtu.be/oqXBY51KP5A 🥽 Join the VR Creator Club: https://skool.com/vrcreatorclub ⌚ Timestamps 0:00 Like! 0:28 Setup & Settings 2:00 Building the button 3:33 Adding physics to the button 6:20 Code 11:54 Testing 13:21 Get the source project on Patreon! 14:14 Comment! #vr #buttons #untiy

You May Also Like

Slinky Mastery Kit Essentials

AI-recommended products based on this video

Loading...
NEXPOW Car Jump Starter,Car Battery Jump Starter Pack 1500A Peak Q10S for Up to 7.0L Gas and 5.5L Diesel Engine12V Auto Battery Booster,Jumper Cables,Portable Lithium Jump Box with LED Light/USB QC3.0

NEXPOW Car Jump Starter,Car Battery Jump Starter Pack 1500A Peak Q10S for Up to 7.0L Gas and 5.5L Diesel Engine12V Auto Battery Booster,Jumper Cables,Portable Lithium Jump Box with LED Light/USB QC3.0

(4,578)
$71.99
FREE delivery Sat, Jan 3
2K+ bought in past month
Loading...
Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

(181)
$70.15$61.13
$5.05 delivery Thu, Jun 26Only 3 left in stock.
Loading...
9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

(261)
$99.99
FREE delivery Sat, Sep 20
1K+ bought in past month
Loading...
JOREST 38Pcs Small Precision Screwdriver Set, Tool Gifts for Men, Christmas Gifts for him with Torx T5, T6, Repair Tool Kit for MacBook, Computer, Laptop, iPhone, PS4 PS5, Xbox, Switch, Glasses

JOREST 38Pcs Small Precision Screwdriver Set, Tool Gifts for Men, Christmas Gifts for him with Torx T5, T6, Repair Tool Kit for MacBook, Computer, Laptop, iPhone, PS4 PS5, Xbox, Switch, Glasses

(43,599)
$14.07
FREE delivery Thu, Nov 27 on your first order
1K+ bought in past month
Loading...
Huachuang 3PCS Griddle Accessories for Blackstone: 2 Clip-on Stainless Steel Spatula Holder + Magnetic Grease Gate Blocker for 28"/36" Blackstone Griddle - Grill Barbecue Tool Set

Huachuang 3PCS Griddle Accessories for Blackstone: 2 Clip-on Stainless Steel Spatula Holder + Magnetic Grease Gate Blocker for 28"/36" Blackstone Griddle - Grill Barbecue Tool Set

(4)
$16.99
FREE delivery Sun, Aug 10 on your first order
Loading...
Soleilwear Mini Electric Screwdriver Set, 52 in 1 Precision Electric Screwdriver Cordless with 48 Magnetic Bits, Repair Tool Kit with Tweezers and Pry Bar

Soleilwear Mini Electric Screwdriver Set, 52 in 1 Precision Electric Screwdriver Cordless with 48 Magnetic Bits, Repair Tool Kit with Tweezers and Pry Bar

(83)
$49.99
PrimeFREE delivery Sat, Jun 14
100+ bought in past month
Loading...
bussdis Jewelry Stand Necklace Holder Organizer: Black Necklace Organizer Stand for Girls, Jewelry Hanging Display Holder for Women, Bracelet Holding Rack As Gift, Black

bussdis Jewelry Stand Necklace Holder Organizer: Black Necklace Organizer Stand for Girls, Jewelry Hanging Display Holder for Women, Bracelet Holding Rack As Gift, Black

(90)
$9.99
FREE delivery Sat, Jun 14 on your first order
100+ bought in past month
Loading...
ZANWANXIN Universal Steel Wire Trimmer Head, 2025 New String Trimmer Replacement Head, 6 Inch Steel Wire Grass Trimmer Head for Electric Cordless String Trimmers, Weed Wrecker (6 Blade)

ZANWANXIN Universal Steel Wire Trimmer Head, 2025 New String Trimmer Replacement Head, 6 Inch Steel Wire Grass Trimmer Head for Electric Cordless String Trimmers, Weed Wrecker (6 Blade)

(0)
$10.46$9.14
FREE delivery Jun 18 - 20
Loading...
6 Inches Steel Wire Grass Trimmer Head, 2025 New Wire Trimmer Head Replacement for Electric Battery Powered Cordless String Trimmer, Weed Eater, Metal Weed Eater Blade, Bore 0.2 Inch (1, 6 Blade)

6 Inches Steel Wire Grass Trimmer Head, 2025 New Wire Trimmer Head Replacement for Electric Battery Powered Cordless String Trimmer, Weed Eater, Metal Weed Eater Blade, Bore 0.2 Inch (1, 6 Blade)

(5)
$7.95$7.90
FREE delivery Aug 12 - 15
Loading...
Root Viewer Kit for Kids - Grow Your Own Plant Garden for Boys & Girls - Science STEM Toy & Craft Growing Kits for Ages 4-8 Birthday Gifts for Boy, Girls 4, 5, 6, 7, 8, Year Old - Gardening Set Toys

Root Viewer Kit for Kids - Grow Your Own Plant Garden for Boys & Girls - Science STEM Toy & Craft Growing Kits for Ages 4-8 Birthday Gifts for Boy, Girls 4, 5, 6, 7, 8, Year Old - Gardening Set Toys

(718)
$22.49
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
LEGO Icons French Café Paris Building Kit - DIY Set for Adults - Collectible Bedroom and Home Decor - Display for Home or Office - Gift for Coffee Lovers - 10362

LEGO Icons French Café Paris Building Kit - DIY Set for Adults - Collectible Bedroom and Home Decor - Display for Home or Office - Gift for Coffee Lovers - 10362

(24)
$79.98
PrimeFREE delivery Sat, Jun 14
100+ bought in past month
Loading...
LEGO Icons Leonardo da Vinci's Flying Machine DIY Kit - Ornithopter Building Set for Adults, Ages 18+ - Craft for Home or Office Decor with Display Stand - Gift Idea - 10363

LEGO Icons Leonardo da Vinci's Flying Machine DIY Kit - Ornithopter Building Set for Adults, Ages 18+ - Craft for Home or Office Decor with Display Stand - Gift Idea - 10363

(185)
$49.98
PrimeFREE delivery Sat, Jun 14
200+ bought in past month
Loading...
R RUCKERCO Girls DIY Diary 54 Pcs Diary Set, Toys For Ages 8-13,DIY Stationery Set, Cool Thin Stickers And Little Girls Daily Supplies, Gifts For Teen Best Choice

R RUCKERCO Girls DIY Diary 54 Pcs Diary Set, Toys For Ages 8-13,DIY Stationery Set, Cool Thin Stickers And Little Girls Daily Supplies, Gifts For Teen Best Choice

(275)
$18.69
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
LEGO Icons Williams Racing FW14B & Nigel Mansell F1 Model Car Kit - Building Set for Adults, Ages 18+ - F1 DIY Craft for Display - Gift Idea for Fans of F1-10353

LEGO Icons Williams Racing FW14B & Nigel Mansell F1 Model Car Kit - Building Set for Adults, Ages 18+ - F1 DIY Craft for Display - Gift Idea for Fans of F1-10353

(40)
$89.99
PrimeFREE delivery Sat, Jun 14
200+ bought in past month