Open
Description
Describe the bug
使用sp.simulateLookAt只能改变假人的roty不能修改rotx
To Reproduce
创建假人并调用sp.simulateLookAt
Expected behavior
假人能够低头或者抬头
Screenshots
No response
Platform
win10
BDS Version
1.21.60-70
LeviLamina Version
1.1.x-1.2.x
LegacyScriptEngine Version
0.10.x-0.11.x
Additional context
修复方法:
注释掉ll头文件mc/server/sim/LookAtIntent.h中 LookAtIntent& operator=(LookAtIntent const&);这一行
并把src/lse/api/helper/SimulatedPlayerHelper.cpp中的所有SimulatedPlayerHelper::simulateLookAt函数中的sim::lookAt(player, ***, lookType);修改为player->mLookAtIntent =sim::lookAt(player, ***, lookType);