Skip to content

A pickup that bobs and pops

Updated

Two endless tweens bob and spin a pickup; on pickup/taken they stop, a third shrinks it away, and the pickup is destroyed.

Watch the gem bob and spin, then press Take to make it pop and vanish. Drag to orbit the camera, scroll to zoom.

A pickup that bobs and pops

The script is explained step by step in A pickup that bobs and pops.

Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.

PickupPop.xrproj