이제 Meta 계정이 제공됩니다. VR 기기에 로그인할 때 사용할 Meta 계정을 지금 만들어보세요. 더 알아보기

WHEN PROJECTILE HITS STATIC OBJECT

Event executes when a projectile, from the launcher gizmo, hits a static object.

Appearance in Composition Pane
Description

Event executes when a projectile, from the launcher gizmo, hits a static object. The event is received on the projectile launcher gizmo with two parameters. Pos is where the projectile hit, and normal is a direction vector, which indicates which side of the object was hit.
Parameters

vector, vector


PREREQUISITE READING

WHEN PROJECTILE HITS INTERACTIVE OBJECT precedes this tutorial


Example 1: Create a dent in an object

When the projectile hits a static object, move a dark round disc, which represents a dent, to the hit position. Then, rotate it to face the same direction as the object.