BuoyancySensor

Show Deprecated

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.

Summary

Properties

Properties inherited from SensorBase

Properties

FullySubmerged

read parallel

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

read parallel

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.

Methods

Events