FluidForceSensor
A SensorBase that outputs Force, Torque and CenterOfPressure.
Memory category | Instances |
---|
Member index 4
Description
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.
History 6
- 649 Change Tags of FluidForceSensor from [NotBrowsable] to []
- 643 Add EvaluateAsync
- 643 Add Torque
- 643 Add Force
- 643 Add CenterOfPressure
- 643 Add FluidForceSensor
Members 4
CenterOfPressure
Type | Default | |
---|---|---|
Vector3 | 0, 0, 0 |
Assembly center of pressure offset from its center of mass in world coordinates.
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Output |
Loaded/Saved | false/true |
History 1
- 643 Add CenterOfPressure
EvaluateAsync
Parameters (3) | ||
---|---|---|
linearVelocity | Vector3 | |
angularVelocity | Vector3 | |
cframe | CFrame | |
Returns (1) | ||
Tuple |
Asynchronously computes force, torque, and center of pressure for the parent part of a sensor given provided inputs.
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 1
- 643 Add EvaluateAsync
Force
Type | Default | |
---|---|---|
Vector3 | 0, 0, 0 |
Assembly fluid force in world coordinates.
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Output |
Loaded/Saved | false/true |
Torque
Type | Default | |
---|---|---|
Vector3 | 0, 0, 0 |
Assembly fluid torque in world coordinates.
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Output |
Loaded/Saved | false/true |