Houdini实用教程系列
sprintf函数,对字符串进行格式化
s@name = sprintf("pieces%d" , @ptnum); 用ptnum来代替%d,使得name属性下,piece重新命名
对碎块重命名
@name = sprintf("pieces%d",@ptnum);