BuoyancySensor

Afficher les obsolètes

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.

Résumé

Propriétés

Propriétés hérités de SensorBase

Propriétés

FullySubmerged

Lecture parallèle

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

Lecture parallèle

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.

Méthodes

Évènements