We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
此接口在lse引擎上有使用,但无法获取entity对象,似乎includeActor不起作用
参数Actor.h
lse代码 https://github.com/LiteLDev/LegacyScriptEngine/blob/0e0cb70f9c9c6e9ac02ce9790773b2135ef51639/src/legacy/api/EntityAPI.cpp#L1368-L1384
lse的代码片段截取
HitResult result = actor->traceRay(5.5f, true, false); Actor* entity = result.getEntity(); if (entity) { std::cout << "true" << std::endl; }
正常获取到Entity对象
No response
win11
0.9.2
The text was updated successfully, but these errors were encountered:
2af704d
No branches or pull requests
Describe the bug
此接口在lse引擎上有使用,但无法获取entity对象,似乎includeActor不起作用
参数Actor.h
lse代码
https://github.com/LiteLDev/LegacyScriptEngine/blob/0e0cb70f9c9c6e9ac02ce9790773b2135ef51639/src/legacy/api/EntityAPI.cpp#L1368-L1384
To Reproduce
lse的代码片段截取
Expected behavior
正常获取到Entity对象
Screenshots
No response
Platform
win11
Version
0.9.2
Additional context
No response
The text was updated successfully, but these errors were encountered: