Warzone2100/warzone2100

Structure placement placeholder unexpected behavior on certain sloped angles

Open

#1,578 opened on Mar 3, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (610 forks)auto 404
Buggood first issue

Repository metrics

Stars
 (3,886 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug When placing a structure you see a placeholder on where to build it. Moving the mouse around causes the placeholder to move as expected. However, on certain sloped angles the placeholder has some unexpected and unwanted behavior. Attached a video showcasing the behavior and a screenshot on what area to move the mouse.

To Reproduce Steps to reproduce the behavior:

  1. Boot the game and start a fresh alpha campaign (do not move your viewpoint, otherwise the marked spot in the screenshot does not work).
  2. Select the radar tower from the build menu (tho I'm sure other buildings do work too).
  3. Move your cursor (without moving your viewpoint) in the marked area.
  4. Enjoy.

Expected behavior To properly locate the position of the placeholder structure (tho the structure, when green, gets placed on the shown position).

Screenshots or Videos image video

Your System:

  • OS: Windows 10
  • Game version: 4.0.0-beta1

Contributor guide