Page MenuHome

Geometry Nodes: New Align Rotation to Vector node.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Jan 11 2021, 5:56 PM.

Details

Diff Detail

Repository
rB Blender
Branch
align-rotation-to-vector (branched from master)
Build Status
Buildable 12117
Build 12117: arc lint + arc unit

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Jan 11 2021, 5:56 PM
Jacques Lucke (JacquesLucke) created this revision.

This worked nicely in my test.

source/blender/nodes/geometry/nodes/node_geo_align_rotation_to_vector.cc
85

I've been retrieving the span from attributes and then applying it afterwards because it should be slightly faster. Granted, the difference is probably negligible compared to all the matrix multiplication etc, but maybe it's worth being consistent.

This revision is now accepted and ready to land.Jan 11 2021, 10:47 PM


Found no issues in my tests.