Skip to content

Issue with object rotation by x and z axis #87

@Since55

Description

@Since55

After rotation on x-axis object shifting forward and down.
After rotation on z axis object shifting left and down.

final node = ArCoreRotatingNode(
shape: ArCoreCube(
size: vector.Vector3(1, 0.02, 0.4)
),
position: vector.Vector3(0,0,0),
rotation: vector.Vector4( sin(angle
pi/360), 0, 0, cos(anglepi/360)),
);

photos with rotation 30°, 90°, 45°.
Both planes are same, except rotation.
image
image
image

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