TriangleMeshPart
Abstract intermediate class that manages physical geometry properties for PartOperations and MeshParts.
| Memory category | Instances |
|---|
Member index 12
Removed member index 2
| History | Member |
|---|
Description
TriangleMeshPart is an abstract intermediate class from which MeshPart and PartOperation inherit. It was created to consolidate the management of physical geometry properties between the two sub-classes. It implements the read-only CollisionFidelity.
History 55
- 731 Change Default of from to
- 731 Change Default of from to
- 731 Change Default of from to
- 731 Change Default of from to
- 731 Add
- 731 Change Default of MeshSize from to
- 731 Add
- 731 Add
- 731 Change Default of FluidFidelity from to
- 731 Add
- 731 Change Default of CollisionFidelity from to
- 731 Add
- 726 Change Default of from to
- 726 Change Default of from to
- 726 Change Default of from to
- 726 Change Default of from to
- 726 Remove
- 726 Change Default of MeshSize from to
- 726 Remove
- 726 Remove
- 726 Change Default of FluidFidelity from to
- 726 Remove
- 726 Change Default of CollisionFidelity from to
- 726 Remove
- 709 Change Tags of from [Hidden, NotReplicated, NotScriptable] to [Hidden, NotScriptable]
- 699 Change Tags of from [Hidden, NotScriptable] to [Hidden, NotReplicated, NotScriptable]
- 679 Add
- 674 Add
- 674 Remove
- 662 Add
- 628 Change Tags of from [] to [Hidden]
- 628 Change Tags of from [] to [Hidden]
- 628 Change Tags of from [] to [Hidden]
- 628 Change Tags of from [] to [Hidden]
- 627 Add
- 627 Add
- 627 Add
- 627 Add
- 600 Add
- 600 Add FluidFidelity
- 591 Add
- 559 Remove
- 553 Add
- 553 Change Default of MeshSize from to
- 553 Add
- 553 Change Default of CollisionFidelity from to
- 535 Add MeshSize
- 520 Change Category of CollisionFidelity from Behavior to Collision
- 486 Change ThreadSafety of CollisionFidelity from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CollisionFidelity from to ReadOnly
- 398 Change WriteSecurity of CollisionFidelity from None to PluginSecurity
- 398 Change Tags of CollisionFidelity from [NotReplicated, NotScriptable] to [NotReplicated]
- 398 Change CanLoad of CollisionFidelity from false to true
- 381 Add CollisionFidelity
- 381 Add TriangleMeshPart
Members 12
CollisionFidelity
| Type | Default | |
|---|---|---|
| CollisionFidelity | ||
This property determines how the collision model of the TriangleMeshPart relates to the actual geometry of the mesh. This property cannot be read or manipulated by scripts during runtime.
See here for a visual representation of the various options.
| Write security | PluginSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Collision |
| Loaded/Saved | true/false |
History 10
- 731 Change Default of CollisionFidelity from to
- 726 Change Default of CollisionFidelity from to
- 553 Change Default of CollisionFidelity from to
- 520 Change Category of CollisionFidelity from Behavior to Collision
- 486 Change ThreadSafety of CollisionFidelity from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CollisionFidelity from to ReadOnly
- 398 Change WriteSecurity of CollisionFidelity from None to PluginSecurity
- 398 Change Tags of CollisionFidelity from [NotReplicated, NotScriptable] to [NotReplicated]
- 398 Change CanLoad of CollisionFidelity from false to true
- 381 Add CollisionFidelity
FluidFidelity
| Type | Default | |
|---|---|---|
| FluidFidelity | ||
Controls which geometric representation the physics engine uses when it computes aerodynamic (fluid) forces and torques for the part. It defaults to FluidFidelity.Automatic, in which the engine selects a representation on your behalf.
- FluidFidelity.Automatic — the engine chooses the representation; it currently evaluates fluid forces against the part's collision geometry.
- FluidFidelity.UseCollisionGeometry — fluid forces are evaluated against the part's collision geometry, matching the shape used for collision detection.
- FluidFidelity.UsePreciseGeometry — fluid forces are evaluated against the part's precise mesh geometry, producing more accurate forces at a higher computational cost.
Because this property has plugin-level write security, it is configured in Studio rather than assigned by runtime scripts.
This setting only affects a part while fluid forces are active for the
place, which is governed by Workspace.FluidForces (an
FluidForces value that defaults to Default; setting it to
Experimental enables the aerodynamic force model). When fluid forces are
not applied to the part, the chosen fidelity has no effect.
| Write security | PluginSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Behavior |
| Loaded/Saved | true/false |
History 3
- 731 Change Default of FluidFidelity from to
- 726 Change Default of FluidFidelity from to
- 600 Add FluidFidelity
MeshSize
| Type | Default | |
|---|---|---|
| Vector3 | ||
This read-only property reports the size of the part's mesh geometry when
it was loaded, as width, height, and depth in studs. It is not affected by
resizing the part through BasePart.Size, so dividing
BasePart.Size by MeshSize gives the scale factor currently
applied to the mesh's visual and physical geometry.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | false |