SensorMode¶
Not yet Enum
Specifies whether a ControllerPartSensor targets floor or ladder geometry, and which detection algorithm to use.
Not implemented in Nova
This enum is missing from Nova. Scripts that reference it will fail.
Description¶
The SensorMode enum controls both the type of geometry a ControllerPartSensor targets (floor surfaces or ladder rungs) and the detection algorithm it applies. SensorMode.Floor and SensorMode.Ladder use the current sensing algorithms, while SensorMode.ClassicFloor and SensorMode.ClassicLadder preserve legacy behavior. The default value of ControllerPartSensor.SensorMode is SensorMode.Floor.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Floor |
0 | Not yet | Detects floor surfaces below the part using the modern detection algorithm; the default value of ControllerPartSensor.SensorMode. |
Ladder |
1 | Not yet | Detects ladder surfaces adjacent to the part using the modern piercing-based detection algorithm. |
ClassicFloor |
2 | Not yet | Detects floor surfaces below the part using the legacy raycast-based algorithm. |
ClassicLadder |
3 | Not yet | Detects ladder surfaces adjacent to the part using the legacy ladder detection algorithm. |
Roblox reference: SensorMode