Godot : Kinematic body moves in opposite direction after i interpolate its movement

i have added some basic movement and some manual interpolation to a cube tat is a kinematic body in GODOT

extends KinematicBody  var speed : int = 10 var slowdown_buffer = 0.2 var movement = Vector3(0,0,0) func _ready():     pass      func interpolate():     if movement.x > 0:             movement.x -= slowdown_buffer     elif movement.x < 0:         movement.x += slowdown_buffer     else:         movement.x = 0.0 func _physics_process(delta):     if Input.is_action_pressed("left"):         movement.x = -speed     elif Input.is_action_pressed("right"):         movement.x = speed     else:          interpolate()              move_and_slide(movement) 

The problem is that when i move the cube using the A and D
After the Cube stops after the interpolation , it starts moving in the opposite direction in a non increasing speed
How to fix this

Does a monk with Unarmored movement still have to make strength checks to “run”/”climb” a wall?

If a Level 9 (or higher) monk, with the Unarmored Movement feature, wanted to climb a 1000-ft sheer cliff, would they have to make strength checks every turn to see if they continue climbing, fall, or stay where they are? Or would they just keep going without making checks?

(Related question.)

Mythic Black Tentacles vs. Freedom of Movement (pathfinder 1)

My group has a question about Mythic Black Tentacles vs. Freedom of Movement. For reference: https://www.d20pfsrd.com/magic/all-spells/b/black-tentacles/ https://www.d20pfsrd.com/magic/all-spells/f/freedom-of-movement/

The important parts…

From Black Tentacles:

The tentacles can grapple creatures that are immune to grappling if that immunity is from a non-mythic source, but combat maneuver checks to grapple such creatures take a –5 penalty.

Freedom of Movement, broken down apart by me:

Point 1: All combat maneuver checks made to grapple the target automatically fail.

Point 2: The subject automatically succeeds on any combat maneuver checks and Escape Artist checks made to escape a grapple or a pin.

Our current thought is that if someone has FoM up and they’re hit with Mythic Black Tentacles, they can be grappled, because the text of MBT overrides Part1 from FoM.

But then, on their turn, they can automatically escape because of Point 2 from FoM.

Does anyone else have this in play? What do you do?

Thanks in advance.

movement of 2d object

I was trying to move object by changing velocity

void FixedUpdate()     {         int velocity_x = rb.velocity.x;         int velocity_y = rb.velocity.y;         if(Input.GetKey("a")){             if(velocity_x<0){                              }else if(velocity_x>0){              }             else{                 velocityChange(-1, 0);             }         }else if(Input.GetKey("w")){             if(velocity_y<0){                              }else if(velocity_y>0){              }             else{                velocityChange(0, 1);             }         }else if(Input.GetKey("d")){             if(velocity_x<0){                              }else if(velocity_x>0){              }             else{                 velocityChange(1, 0);             }         }else if(Input.GetKey("s")){             if(velocity_y<0){                              }else if(velocity_y>0){              }             else{                velocityChange(0, -1);             }         }     }      void OnCollisionEnter2D(Collision2D collision){         if(collision.collider.tag =="obstacle"){            Debug.Log("Finish");         }     }     void velocityChange(int velocityX,velocityY){         rb.velocity = new Vector2(velocityX, velocityY);     } 

But, I am getting error.

Assets/movement.cs(57,48): error CS1001: Identifier expected

57 line :

void velocityChange(int velocityX,velocityY){ 

48 line :

} 

40-49 line :

else if(Input.GetKey("s")){         if(velocity_y<0){                      }else if(velocity_y>0){          }         else{            velocityChange(0, -1);         }     } 

Can you Ready an attack with the trigger ‘enemy enters my reach’? If so, will you interrupt their movement on a hit?

Without using any feats, can a player with a reach weapon set that weapon to receive a ‘charge’ by the enemy, attacking them when they enter range? Or even a non-reach weapon? That is, can a player commit to using their attack action when an enemy crosses an arbitrary line with their movement? (Examples: Ready my glaive to attack when the orc gets 10′ away from me. Ready my shortbow to attack when the dragon enters 80′ from me. Ready my dagger in case the kobold comes adjacent.)

If this is possible, and the player’s attack hits, does it have any effect on the enemy’s remaining movement or other actions?

I think the answers are yes, and no, respectively.

Does Dimentional Slide arcanist exploit allows you to avoid AoO from the starting possition of movement?

I recently had a discussion with my GM about Dimensional Slide exploit. The problem is the wording of the exploit:

"This ability is used as part of a move action or withdraw action, allowing her to move up to 10 feet per arcanist level to any location she can see. This counts as 5 feet of movement. She can only use this ability once per round. She does not provoke attacks of opportunity when moving in this way, but any other movement she attempts as part of her move action provokes as normal."

I haven’t found any rules about the description of "as a part of move action". Is it ment that I must start moving, for example, from threatened square, provoking an AoO, then do DS, or simply perform DS w/o any AoOs?

It is unclear that "as part of the action" require you to make this action exclusively in the middle of an action, not before or after it.

Please, follow your answer with some rules link, so it can be approved point, not just an opinion, because i really need some solid evidence ;D

Thank you.

P.S. I’ve read the thread below, and it states that I can avoid AoOs from any point of blinking, but it has no proof of ability to do so by rules.

Arcanist Dimensional Slide usage specific cases!

How is movement calculated when running up walls as a monk?

Picture this circumstance. I am a 5 foot tall level 9 Wood Elf Monk with Mobile. I have 60 feet of speed per turn, via:

  • 35 feet from Wood Elf feature
  • 10 feet from the Mobile feat
  • 15 feet from being a level 9 monk

And can run on walls via the monk’s Unarmored Movement class feature.

I am 15 feet away from a medium sized melee combatant in a 5 foot wide corridor with a 20 foot high ceiling.

Avoiding all attacks of opportunity against me and without using any attacks from me and only the wall movement + speed listed, what is my maximum possible remaining movement to be on the other side of the combatant, out of range, with this setup?

To simplify this, I want to run up the wall, around the guy, without giving him a chance to hit me with his 5 foot range, and still have as much movement possible.

You know, normal Monk things.


My main concern is how the movement starts, and how diagonals work while wall running. Do I spend 5 feet to start “wall running” in the same square I’m in, or do I start by spending 5 feet to be 10 feet in the air? Can I simultaneously move forward while moving up?

I’ve also considered the potential of dropping while on the wall to conserve movement (presumably 10 feet past the combatant), and I want to suggest that for anyone to consider it themselves as a potential part of the answer.

Considering how abstract this question is, there may not be an official answer in 5e, but references to prior editions/Pathfinder on this topic would be valid substitutes.

Does a monk’s Unarmored Movement speed increase apply to the fly speed gained from a Fly spell?

A monk’s Unarmored Movement class feature increases the monks speed by 10 feet at level 2, and further at higher levels. According to this Sage Advice, this stacks with an Aarakocra monk’s fly speed, because that fly speed is innate to the race.

However, how does this interact with fly speeds gained from other sources, such as the Fly spell? That spell specifically states that “the target gains a flying speed of 60 feet for the duration.” Can this gained flying speed then be improved by a monk’s Unarmored Movement, giving a level 2 monk a flying speed of 70 feet with the Fly spell cast on them?

Must a creature with less than 30 feet of movement dash when effected by Symbol’s Fear effect?

The effect states:

Fear: Each target must make a Wisdom saving throw and becomes Frightened for 1 minute on a failed save. While Frightened, the target drops whatever it is holding and must move at least 30 feet away from the glyph on each of its turns, if able.

The "if able" is where I’m getting hung up. Yes, the creature is able to move 30 feet by dashing, however I’m not sure if that is intended, as it would severely limit certain PCs. If a creature only has 25 feet of movement, such as a gnome or halfling, are they forced to use there dash every turn to make that 30 feet minimum?
This was ruled in my game as no, since it meant 3 members of the party were still functional while the fourth would have been completely useless with having to dash every turn.