FluidForceSensor

Show Deprecated

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.

Summary

Properties

  • Read Only
    Not Replicated
    Read Parallel

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

  • Read Only
    Not Replicated
    Read Parallel

    Assembly fluid force in world coordinates.

  • Read Only
    Not Replicated
    Read Parallel

    Assembly fluid torque in world coordinates.

Properties inherited from SensorBase

Properties

Methods

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

Properties

CenterOfPressure

Read Only
Not Replicated
Read Parallel

Force

Read Only
Not Replicated
Read Parallel

Torque

Read Only
Not Replicated
Read Parallel

Methods

EvaluateAsync

Yields

Parameters

linearVelocity: Vector3
angularVelocity: Vector3
cframe: CFrame

Returns

Events