ControllerPartSensor¶
A SensorBase that outputs data about another BasePart based on Humanoid floor and ladder detection logic.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
A SensorBase that outputs data about another BasePart based on Humanoid floor and ladder detection logic. It is primarily used for sending data to a character controller. Using a ControllerPartSensor allows you to detect BaseParts in the same manner as the Humanoid uses for detecting floors and ladders.
Inheritance¶
Object → Instance → SensorBase → ControllerSensor → ControllerPartSensor
Properties¶
| Member | Signature | Summary |
|---|---|---|
HitFrame |
HitFrame: CFrame |
The position in world space where the sensor hit the ControllerPartSensor.SensedPart. |
HitNormal |
HitNormal: Vector3 |
The surface normal at the position where the sensor hit the ControllerPartSensor.SensedPart. |
LadderSearchHeight |
LadderSearchHeight: float |
The upper bound, in studs, of the vertical region the sensor searches for a ladder when ControllerPartSensor.SensorMode is set to a… |
LadderSearchOffset |
LadderSearchOffset: float |
The downward offset, in studs, that positions the vertical region the sensor searches for a ladder when [ControllerPartSensor.SensorMode](ControllerPartSensor.md#sensorm… |
SearchDistance |
SearchDistance: float |
The distance from the sensor's parent BasePart to use when sensing other parts. |
SensedMaterial |
SensedMaterial: Material |
The surface Material of the ControllerPartSensor.SensedPart that the sensor is currently detecting. |
SensedPart |
SensedPart: BasePart |
A reference to the BasePart hit by the sensor. |
SensorMode |
SensorMode: SensorMode |
Determines what behavior this SensorBase uses when sensing other parts. |
Roblox reference: ControllerPartSensor
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.