Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [movement]

A simple term for "translation", the change of position of an entity typically on the route of going from point A to point B.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Help with making a sidescroller enemy turn in the opposite direction

recently I’ve been working on a way to make a sidescrolling enemy turnaround & go back in the opposite direction when they collide with a non-player object, with my setup being based on the one ...
user avatar
0 votes
1 answer
36 views

Pixel Perfect Movement

Could someone explain or send me a pixel perfect movement script? I don't find anything good explained. My idea was to set the position to int but that doesn't work.
user avatar
0 votes
1 answer
23 views

JS 2D top down movement doesn't act as expected

I realise this is very similar to other 2D movement questions already posted but cant find a solution that fits the behaviour I'm looking for, so I'm posting in the hope that someone more ...
user avatar
0 votes
0 answers
18 views

Problems with creating Linear Guide using Configurable joint

I'm trying to create an Linear Guide mechanism using Configurable Joint (I think this joint is better than other for this situation). I connected an orange cube to another object (let's call it frame) ...
user avatar
0 votes
0 answers
46 views

Latency handling methods in a fast-paced multiplayer game with moving objects

I am working on a real-time multiplayer soccer game. Currently, on my game, I created an architecture like that: Every client has a copy of the game state, also the server has it too. Clients send ...
user avatar
0 votes
0 answers
12 views

How to rotate a players movement axis as camera switches? (Not used to coding)

I am using unity and I have two cinemachine cameras with two seperate camera angles. For one camera angle I want the players W key to move at a 45* slant while at the other I just want it to be ...
user avatar
1 vote
1 answer
59 views

Vertex Displacement Shader Graph With The Camera Moving Issue

I have a foliage sway shader, that works well. But when the camera moves the vertex displacement stops: And the weird thing also is that if I move the camera to the right nothing seems to happen, ...
user avatar
2 votes
0 answers
98 views

Fix slow and weird diagonal movement on slopes in Godot 3D?

I am creating a 3rd-person player controller using move_and_slide_with_snap in the style of WoW, so the player's speed should be the same horizontally no matter what the slope of the terrain they're ...
user avatar
0 votes
2 answers
35 views

Unity Follow Object Movement in Local Space?

I have two objects in my scene each at different positions and rotations in the scene. In this example, object A (the leader) moves according to controls. I need object B (follower) to follow the ...
user avatar
0 votes
1 answer
29 views

Control different speeds for moving left/right, and facing that direction

I have a game idea... and I need a script where I can control the speed for moving left, and control another speed for moving right. But, I also need to let my player face that direction. ...
user avatar
5 votes
1 answer
218 views

Why would a bigger game move the gameworld around the Player instead of just moving a player within a gameworld?

So, this might be a little random since I can't remember any specific examples but this question just popped into my head 30mins ago and wont leave me alone. I remember hearing about some big game ...
user avatar
  • 51
0 votes
1 answer
50 views

Sliding character inside the circle

When it comes to rect against rect smooth sliding movement, that is easy. Something like this will work ...
user avatar
0 votes
0 answers
22 views

Javascript Game Collision Shaking

I have a problem with collision shaking. The problem doesn't come from the collision, but from client side (sometime the it's smooth and sometimes not). Here is a video to show it : https://www....
user avatar
0 votes
0 answers
50 views

LibGDX sprite not moving with rotation

I have a player class and I'm trying to rotate the player and move it in the direction it's facing. The rotation works but I can't get the sprite to move. ...
user avatar
0 votes
2 answers
42 views

How to restrict player movement without jitters

I am currently making top-down space shooter and would like to hear some suggestions on how to restrict player movement without causing jitters. Everything works fine except one thing: the player (...
user avatar

15 30 50 per page
1
2 3 4 5
65