Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vehicles unexpectedly flip 180 degrees when pushed/pulled #14169

Closed
mutability opened this issue Nov 25, 2015 · 6 comments · Fixed by #76338
Closed

Vehicles unexpectedly flip 180 degrees when pushed/pulled #14169

mutability opened this issue Nov 25, 2015 · 6 comments · Fixed by #76338
Labels
<Bug> This needs to be fixed (S2 - Confirmed) Bug that's been confirmed to exist Vehicles Vehicles, parts, mechanics & interactions

Comments

@mutability
Copy link
Contributor

If you grab a vehicle from the front and push towards it, or grab a vehicle at the back and pull it, then it unexpectedly flips 180 degrees (and you usually end up losing your grab because the flip moves the edge of the vehicle out of reach or on top of you)

Before, vehicle grabbed, it's facing north:

veh-grab-move-1

After moving one tile south, now it's facing south (and it's displaced sideways too)

veh-grab-move-2

This is very noticeable with two-tile hauling carts as they invariably flip out of reach all the time. Also if you're trying to move a multi-tile thing around in a confined space it will collide unexpectedly as it flips.

The correct behaviour here I think is:

  • rotate the vehicle so that the player position, grabbed part, and vehicle center are in a line. There will be two solutions, pick the one that rotates less.
  • translate the vehicle in the direction the player moved until it is adjacent to the player
@scorpion451
Copy link

Would also love to see this implemented, if only because it would make pushed/pulled carts larger than 1x1 a functional part of the game.

@sparr
Copy link
Member

sparr commented Dec 17, 2015

the new vehicle pivot logic should make this solvable

@illi-kun illi-kun added <Bug> This needs to be fixed (S1 - Need confirmation) Report waiting on confirmation of reproducibility Vehicles Vehicles, parts, mechanics & interactions labels Nov 9, 2016
@Oskar636
Copy link

Oskar636 commented Nov 10, 2016

@illi-kun Vehicles still do this. They can be grabbed anywhere but essentially the game will work it's way so only the front gets grabbed. The system is really awkard for moving vehicles larger than two tiles, and even two tile ones do these teleportations if you grab them by the back which cause another issue that you sometimes can't push vehicles.
Build 5864 windows 64bit console

@illi-kun illi-kun removed the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Nov 11, 2016
@Leland Leland added the (S2 - Confirmed) Bug that's been confirmed to exist label May 24, 2017
@wapcaplet
Copy link
Contributor

Still reproducible in 0.E-6177-g 9f4a1b8

@NetSysFire
Copy link
Member

Can confirm this is still reproducible and also probably related to #53555, as I could reproduce the parts duplication when the city car flipped and I was also suddenly in the car.

@anoobindisguise
Copy link
Contributor

Still happening as of 12/20/22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed (S2 - Confirmed) Bug that's been confirmed to exist Vehicles Vehicles, parts, mechanics & interactions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants