Challenge 2: Physics Joints

Tutorial

·

Beginner

·

+10XP

·

20 mins

·

(44)

Unity Technologies

Challenge 2: Physics Joints

In this tutorial, learners will:

  • Configure various joint types to simulate real world behaviours (fixed joint, hinge joint, and spring joint)

Languages available:

1. Add Physics Joints to thee scene to create the Rube Goldberg system

1. To keep the Sphere_Medium GameObject in place until the Sphere_Small collides with it, add a Fixed Joint Component using the Add Component button.



2. Configure the Fixed Joint Component as follows:



3. Press play in the scene to see the Sphere_Medium fixed in position until the Sphere_Small collides with it.



4. To configure the teeter totter, select the Platform GameObject (TeeterTotter > Platform) and add a Hinge Joint Component using the Add Component button in the Inspector.



5. To setup the Pendulum, add a Spring Joint to the Pendulum GameObject using the Add Component button and set the Sprint parameter to 500.



6. To keep the Pendulum in place until the Sphere_Medium GameObject collides with it, Add a Fixed Joint to the Pendulum and set the break force to 50.



7. Press play to see the Rube Goldberg machine in action up to the Pendulum


Complete this tutorial