Transcript for:
Geometry Node Tutorial

hello welcome to my channel in this tutorial we'll learn how to use curve tangent node press shift a and add a bezier curve switch the timeline Editor to Geometry node editor click on the new button and add a geometry node modifier press shift a and instance on points node drop the node between the input and output nodes we need an instance object to place on the curve control points let's add a cube object node [Music] connect the geometry to the instance node as you can see two cubes have been added because the curve has only two control points set the x Dimension to 0.5 and set the Y Dimension to 0.3 go to viewport shading menu and enable the cavity option and switch the type to both we can increase the number of the instances on the Curve to do that let's add a resample curve node drop the node after the group input node this node will create new control points on the Curve we are in the count mode so it will be added 10 instance objects along the Curve if we set the count value to 4 4 instance objects will be added if we switch to length mode the instance objects will be added based on the length value let's set the length value to 0.6 as you can see only four instance objects will be added on the Curve it will be computed automatically how many instance objects will be along the curve at 0.6 meters intervals go over the viewport window press Tab Key to switch to edit mode select the last control Point press numpad 7 to switch to top view hit the e key and extrude the Curve the best thing we can extend the curve as we wish and the instance number will be computed automatically based on the curve length let's add join geometry node to be able to see the Curve [Music] foreign [Music] as you have noticed the instance objects don't point the same direction along the Curve we need to rotate each instance object in the curve Direction to do that we're going to use curve tangent node let's add curve tangent node this node computes the direction of the curve at every control point now we need to determine which axis of the instance will point to the curve Direction let's add a line Euler to Vector node plug the tangent node to Vector node and the rotation to rotation node there we go we have aligned the local x-axis of the instances to the curve Direction if we switch to y-axis the local y-axis will be aligned to the curve Direction now we can edit the curve as we wish thanks for watching see you in the next tutorial