用户:
Nysidla查看:2 回复:5 评论:2 创建时间:2023-02-23T21:55:35
entity.buddy = world.createEntity({
mesh: 'mesh/背包.vb', position: entity.position, meshScale: [0, 0, 0],
gravity: false, fixed: false, collides: false,
friction: 0, mass: 0.01, enableInteract: true, interactRadius: 6,
});
entity.buddy.onInteract(async ({ entity }) => {
//殆骂
})
entity.ticker = world.onTick(() => {
entity.buddy.interactHint = `♥${Math.round(entity.hp * 10) / 10}/${entity.maxHp}`
entity.buddy.position.set(entity.position.x, entity.position.y + 2.5, entity.position.z)
})
㵘㵘㵘㵘㵘㵘㵘㵘㵘㵘㵘㵘㵘㵘㵘㵘
给个评论呗()最近赶业绩()