Skip to content

Arrow markers disappear in ground #536

Open
@ArranTuna

Description

@ArranTuna

Describe the bug
When placed too close to the ground, arrow markers get snapped in a really awkward and uncontrollable position, making them totally useless.

To reproduce
The following code (serverside or clientside, doesn't matter) creates 2 rows of markers: one row of cylinders, one row of arrows. While cylinders are placed as expected, the arrows close to the ground get moved.

function failMarkerTest()
    local x, y = 0, 0
    for z=0,10,0.5 do
        marker = createMarker(x, y, z, "arrow", 1, 255, 255, 0, 128)
        marker = createMarker(x+1, y, z, "cylinder", 1, 255, 255, 0, 128)
        y = y + 1
    end
end
addCommandHandler("failmarker", failMarkerTest)

Expected behaviour
To not get snapped to ground.

Screenshots
image

MTA Client:

  • Version: r6985
  • Running in Wine?

MTA Server:

  • Version r6985
  • OS:

Additional context

From https://bugs.mtasa.com/view.php?id=5534

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions