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 : number
¶
The asset ID of the mesh part.
CanCollide : boolean
¶
Specifies whether the part can be collided with or not.
Loading : boolean
¶
True if the mesh is loading.
Mass : number
¶
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.