This commit introduces the Align Euler to Vector function node which rotates to a body into a given direction. Addresses T91374.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
| source/blender/nodes/function/nodes/node_fn_align_euler_to_vector.cc | ||
|---|---|---|
| 148 | I don't have a clang-tidy setup yet (hard to figure out on Windows), but I think this going to fire an else-after-return warning. I'll fix this and and also add an unreachable assert at the end of this function. | |
| source/blender/nodes/function/nodes/node_fn_align_euler_to_vector.cc | ||
|---|---|---|
| 149–151 | I don't think this will work, because the same multi-function could be used by multiple threads that use different pivot axes. | |
| source/blender/nodes/function/nodes/node_fn_align_euler_to_vector.cc | ||
|---|---|---|
| 169 | Looks like this isn't using the mask, the static functions above should use that to avoid doing unnecessary calculations. | |
