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

Vehicle rotation on map generation is still wrong #4873

Closed
ianestrachan opened this issue Dec 4, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@ianestrachan
Copy link
Contributor

commented Dec 4, 2013

mapgen.cpp's map::rotate rotates vehicle directions, but doesn't actually change the vehicles' locations, requiring direction-specific placement for vehicles.

I'd like to say that this is the root cause of vehicle weirdness (clipping into other vehicles or through walls) but it's about the third time I've found something that seems to be causing those issues, so I'll hold back this time.

It certainly can cause things like random holes in walls and absurdly damaged vehicles that are separated from each other, because this happens:

  • Map is generated
  • Vehicle is placed, intersects wall, wall is destroyed and vehicle is smashed
  • Map is rotated, everything except the vehicle moves
  • Vehicle is now clipping through another wall, and not anywhere near the original wall it smashed up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.