Skip to content

Placement of entitys needs to take y rotation into consideration #24

@Alepes-8

Description

@Alepes-8

So when we wanna place a entity into the world we can place it down with the help of the mouse. As a result it will take the mouses x and y cords on the screen to place it on a given z distance from the 0 plane. This works well with different z values, even if you move the camera up, down, right, left back and forward.

However, if we start rotating it around the y axis or even the x axis the placement does not take this into consideration. As a result it thinks you are still looking from the same placement. Meaning we can't with the help of rotating a camera change the z value in any way. It will always be placed on the same plane.

So make the placement take rotation into consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions