Part¶
A common type of BasePart that comes in different primitive shapes.
Description¶
The Part object is a type of BasePart. It comes in five different primitive shapes: Ball, Block, Cylinder, Wedge, and CornerWedge.
Inheritance¶
Object → Instance → PVInstance → BasePart → FormFactorPart → Part
Nova inheritance: Instance → PVInstance → BasePart → FormFactorPart → Part
Known subclasses: FlagStand, Platform, Seat, SkateboardPlatform, SpawnLocation
Properties¶
Shape Supported Property Sets the overall shape of the object.
Sets the overall shape of the object.
The Shape property sets the overall shape of the object to one of a predetermined list of built-in shapes.
The PartType enum controls the shape value, and has five possible shapes:
| Shape/Value | Description |
|---|---|
| Ball | A spherical shape. |
| Block | A block shape. |
| Cylinder | A cylinder shape. |
| Wedge | A wedge shape with a slope on one side. |
| CornerWedge | A wedge shape with slopes on two sides. |
MeshPart and solid modeling can be used to obtain completely custom part shapes.
Collisions between balls, blocks, and wedges, and corner wedges are exact, whereas collisions between terrain, cylinders, TriangleMeshes, and other geometry types are approximations. This means that the ball shape can be useful to create stable colliders for car wheels.
Inherited members¶
Inherited from FormFactorPart: 67 properties, 54 methods, 13 events. They are documented on the base class page.
Roblox reference: Part
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.