You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent free movement troll from leaving tile area
Move troll's root pivot to line up with their collider. This makes their
global_position a good representation of where they are.
Add check for moving to an invalid tile and undo our move. In my tests,
this isn't less smooth than skipping the move_and_slide if
(global_position + velocity * dt) is an invalid tile and allows sliding
to resolve us to a slightly different position.
0 commit comments