BuoyancySensor

非推奨を表示

A SensorBase that outputs data about how its BasePart is interacting with Terrain water, allowing you to determine if the part is or is not in water.

概要

プロパティ

SensorBase から継承した プロパティ

プロパティ

FullySubmerged

並列読み取り

This property is true when the entirety of the BasePart is submerged in Terrain water with at least one voxel of water above it.

TouchingSurface

並列読み取り

This property is true when any position on the BasePart is touching Terrain water. The detection measurements are not exact and may use the bounding box of the part instead of its exact geometry.

方法

イベント