Skip to content

Properly handle cube rotations when location has a pitch and yaw of 0, 0 #17

@Connorppeach

Description

@Connorppeach

Cube rotations, and possibly face rotations are handled improperly when the model is spawned with a pitch and yaw of 0 0. Here is 2 demo models with their rotations set to 0:
Image

and here is the same models with them set to 0.01, 0.01:
Image

Unfortunately, I dont have a single nice line change that fixes this, mostly because I am too tired to throw one together, but a hacky workaround is to turn 0 rotations into very small ones, and that should work for most models.

BBModels are in a repo I made a minute ago for testing.

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