Skip to content

MeshPart

MeshPart is a part that can have custom mesh applied to it, the mesh may be from the Polytoria Store (Hats, Tools and Heads) or user-uploaded meshes.

Inherits BasePart

Methods

MovePosition → void

Parameters: position [ Vector3 ]

Moves the MeshPart to the specified position.

MoveRotation → void

Parameters: rotation [ Vector3 ]

Rotates the MeshPart to the specified rotation.

Properties

Anchored : boolean

Specifies whether the part is to be affected by physics or not.

AngularVelocity : Vector3 = Vector3.New(0, 0, 0)

Specifies the angular velocity of a part.

AssetID : int

The asset ID of the mesh part.

CanCollide : boolean

Specifies whether the part can be collided with or not.

Mass : float

Specifies the mass of a part in kilograms.

Material : PartMaterial

Specifies the material of the part.

Shape : PartShape

Specifies the shape of a part.

Velocity : Vector3 = Vector3.New(0, 100, 0)

Specifies the velocity of a part.