Class · inherits SensorBase
ControllerSensor
An abstract base class for SensorBase types that supply sensory data
to a character controller.
About ControllerSensor
ControllerSensor is an abstract base class for SensorBase
types whose output is intended to be consumed by a physics-based character
controller such as a ControllerManager. A ControllerManager
reads its ControllerManager.GroundSensor and
ControllerManager.ClimbSensor, both of which are
ControllerSensors, to determine how its
ControllerManager.RootPart interacts with the world.
ControllerSensor adds no members of its own; it groups the concrete
sensor types that provide controller-relevant data, such as
ControllerPartSensor, which detects floors and ladders using the same
logic as a Humanoid. Because it is abstract, you don't create a
ControllerSensor directly; use one of its subclasses instead.
ControllerSensor also has every member of SensorBase. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.