Skip to content

The BakeCamera is orientated in world space. #398

Description

@bithoarder

When the BakeCamera is initially created, it is created in world space using:
_bakeCamera.transform.SetPositionAndRotation(new Vector3(0, 0, -1000), Quaternion.identity);
this will work fine in most cases, but if the canvas is in World space and the camera attached to the cavas is not Quaternion.Identity then the BakeCamera will get the inverse rotation and see the particles from a "off" angle.

Environment

  • Version 4.9.1, but the code for newer 4.x and 5.x versions looks near identical.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed more infoNeed more information to help

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions