Revision Difference
NextBot:BodyMoveXY#527754
<function name="BodyMoveXY" parent="NextBot" type="classfunc">
<description>
Should only be called in BodyUpdate. This sets the move_x and move_y pose parameters of the bot to fit how they're currently moving, sets the animation speed to suit the ground speed, and calls FrameAdvance.
Should only be called in <page>NEXTBOT:BodyUpdate</page>. This sets the `move_x` and `move_y` pose parameters of the bot to fit how they're currently moving, sets the animation speed (<page>Entity:GetPlaybackRate</page>) to suit the ground speed, and calls <page>Entity:FrameAdvance</page>.
<bug issue="3420">This function might cause crashes with some activities.</bug>
</description>
<realm>Server</realm>
<file_name>src/garrysmod/Objects/lua_nextbot.cpp</file_name>
<file_line>177</file_line>
</function>