Skip to content

Class · inherits SensorBase

FluidForceSensor

Official docs ↗
About FluidForceSensor

FluidForceSensor is a SensorBase which outputs the results of fluid force simulation from the last physics frame for the part it is attached to. The sensor outputs the Force, Torque and CenterOfPressure which were computed by the fluid force simulation on the last physics frame.

Properties 3

  • CenterOfPressure: Vector3ReadOnlyNotReplicatedAssembly center of pressure offset from its center of mass in world coordinates.
  • Force: Vector3ReadOnlyNotReplicatedAssembly fluid force in world coordinates.
  • Torque: Vector3ReadOnlyNotReplicatedAssembly fluid torque in world coordinates.

Methods 1

  • EvaluateAsync(linearVelocity: Vector3, angularVelocity: Vector3, cframe: CFrame) → TupleYieldsAsynchronously computes force, torque, and center of pressure for the parent part of a sensor given provided inputs.

FluidForceSensor 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.