旋转对象,默认时间是0
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | ObjectId | — |
tag | string | 是 | — | — |
rotation | string | 是 | 0.0, 0.0, 0.0 | roll,pitch,yaw |
time | string | 是 | 0 | 时间s |
调用
typescript
piclient.emit("object.rotate",{
target: "ObjectId",
tag: "",
rotation: "0.0, 0.0, 0.0", //roll,pitch,yaw
time: "0", //时间s
})