Roblox UtilitiesDevlHub Roblox Documentation

Class

FluidForceSensor

Inherits
SensorBase › Instance › Object
Memory category
Instances

A SensorBase that outputs Force, Torque and CenterOfPressure.

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#

CenterOfPressureVector3Assembly center of pressure offset from its center of mass in world coordinates.ReadSafeReadOnlyNotReplicated
ForceVector3Assembly fluid force in world coordinates.ReadSafeReadOnlyNotReplicated
TorqueVector3Assembly fluid torque in world coordinates.ReadSafeReadOnlyNotReplicated

CenterOfPressure: Vector3#

ReadOnlyNotReplicatedReadSafe

Assembly center of pressure offset from its center of mass in world coordinates.

Force: Vector3#

ReadOnlyNotReplicatedReadSafe

Assembly fluid force in world coordinates.

Torque: Vector3#

ReadOnlyNotReplicatedReadSafe

Assembly fluid torque in world coordinates.

Methods 1#

EvaluateAsyncAsynchronously computes force, torque, and center of pressure for the parent part of a sensor given provided inputs.Yields

EvaluateAsync(linearVelocity: Vector3, angularVelocity: Vector3, cframe: CFrame): Tuple#

Yields

Asynchronously computes force, torque, and center of pressure for the parent part of a sensor given provided inputs.

NameTypeDefaultDescription
linearVelocityVector3Linear velocity in world coordinates.
angularVelocityVector3Angular velocity in world coordinates.
cframeCFrameCFrame to be used for evaluation.
Returns

Inherited members#

Inherited from SensorBase 3
Properties (1)

UpdateType

Methods (1)

Sense

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed