Skip to content

Rotating around a point #14

@liamdiprose

Description

@liamdiprose

I'm trying to rotate a node around the center of the scene (0.5 0.5). For example, making a "moon" node orbit around a central point, tidally locked.

How can I apply this transformation matrix to the node's position and rotation in hypergiant?

I've read on some fourms that I need to 1. translate, then, 2. rotate. But its not clear how they can be applied to a node because the "Prototype to Polish" example only demonstrates rotating with quaternions.

Can someone demonstrate how to rotate a node around a point?

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