laworthy.blogg.se

2d grass texture unity
2d grass texture unity







2d grass texture unity 2d grass texture unity

orient the node using a direction vector and a vector pointing upwards rotate the node by 45 degrees along the Z axis Node.SetWorldRotation(node.GetWorldRotation() * new quat(angle_X, angle_Y, angle_Z)) rotate the node around X, Y, and Z axes by the corresponding angle (angle_X, angle_Y, angle_Z) Node.SetWorldRotation(node.GetWorldRotation() * new quat(new vec3(X, Y, Z), Alpha)) rotate the node around the axis (X, Y, Z) by the Alpha angle move the node by one unit along the Y axis Node.WorldPosition = node.WorldPosition + new vec3(X, Y, Z) Source code (C#) // move the node by X, Y, Z units along the corresponding axes Show older versions >|Hide older versions << UNIGINE 2.16.1 (Latest) (Unsupported SDK).









2d grass texture unity