Skip to content

The bug in 2D Plane #112

@iamcxds

Description

@iamcxds

I am trying to create a 2.5D game and follow the example 2D Plane. Because I can move the plane in my game, I find there will be some bugs when vertical sprites go behind the screen.

To recreate this bug, change the y of squarePlane into positive so that it will be behind the screen, e.g
squarePlane.position.set(-app.screen.width / 4, app.screen.height / 2); . Then drag down the squareFar, and the sprite will come back from the sky.
image

Is there any way to avoid this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions