Replies: 1 comment
-
原始来自motor的displacement是engine\source\runtime\function\framework\component\motor\motor_component.cpp:174调用controller的move传入,具体m_desired_displacement的计算参见MotorComponent::calculateDesiredDisplacement函数。你的问题应该是递归导致。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug | Bug描述
A clear and concise description of what the bug is.
在加入了复杂的碰撞检查之后任务的速度变得特别的快
Steps to reproduce | 如何复现
Steps to reproduce the behavior:
Expected behavior | 预期行为
A clear and concise description of what you expected to happen.
在发生碰撞时以正常速度行走
Actual behavior | 实际行为
A clear and concise description of what actually happened.
人物跑的飞快
Screenshots/Logs | 截图/日志
If applicable, add screenshots and/or a video to help explain your problem.
我在move函数中加入了一个对displacement.length()的输出。和一些辅助我查找bug的输出。
代码:
输出:
1)正常行走时
2)撞墙时
可以看到在front crash 前面是输出的距离。明显过大。
Desktop | 桌面环境
Additional context | 补充信息
Add any other context about the problem here.
不清楚这是不是一个bug,不过感觉是。我想查到怎么算出的displacement,但是没能查到。
Beta Was this translation helpful? Give feedback.
All reactions