推出 Meta 帐户:创建 Meta 帐户,轻松登录 VR 设备。 详细了解

FORCE RELEASE

Releases an object from a player's hand.

Appearance in Composition Pane
Description

Force release affects a grabbed object and causes the player to release it. Force release does not prevent future grabs.
Parameters

object


PREREQUISITE READING

SET GRAVITY precedes this tutorial


Example 1: You Don’t Own Me

In this example, if the player is not our indexplayer, the player will be forced to release self immediately after grabbing it.

Next Up