Garry's Mod Wiki

NextBot:BodyMoveXY

  NextBot:BodyMoveXY()

Description

Should only be called in NEXTBOT: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 (Entity:GetPlaybackRate) to suit the ground speed, and calls Entity:FrameAdvance.

This function might cause crashes with some activities.

Issue Tracker: 3420