New answers tagged movement
0
votes
Accepted
Flying AI shakes when chasing and avoiding obstacles simultaneously
If I'm understanding correctly, the issue is that you're oscillating back and forth between two states...
State 1 is when you're out of collision range and it moves normally.
State 2 is when it's ...
1
vote
Accepted
Sprite chasing a target using move_towards_ip does not move
pygame.sprite.Group.draw:
Draws the contained Sprites to the Surface argument. This uses the Sprite.image attribute for the source surface, and Sprite.rect for the position.
So we need to update ...
0
votes
How to move in 3D space in first person mode?
Camera has it's own set of axes. You generally store any two of the three : camFront, camRight and ...
2
votes
Accepted
How to make redirected player movement respond to same key?
Not tested, but you could try looking at which keys the player is pressing when they're warping and setting the velocity x/y values to 0 when they're released depending on how much the movement is ...
Top 50 recent answers are included
Related Tags
movement × 1030unity × 335
c# × 183
2d × 160
physics × 140
java × 74
rotation × 67
vector × 57
mathematics × 56
camera × 54
collision-detection × 49
ai × 49
c++ × 47
xna × 44
sprites × 38
libgdx × 37
3d × 32
rigidbody × 32
android × 30
javascript × 30
input × 28
path-finding × 27
animation × 24
character × 23
algorithm × 22