PhysicsObject:SetMaterialIndex(PhysicsObject, number) shared Sets the material index Arguments physicsObject PhysicsObject materialIndex number Examples PhysicsObject:SetMaterialIndex – Sets the material index