Draw custom spiral - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Draw custom spiral (/thread-3605.html) |
Draw custom spiral - lacasrac - 02-10-2022 How I can draw a spiral on the rope? Like this: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRsb1GKk6OGlc-rmFryS6rEUZ06Q0Fs7erO7Q&usqp=CAU How to use custom shaders with the rope? Is there any sample? RE: Draw custom spiral - josemendez - 02-10-2022 (02-10-2022, 09:58 AM)lacasrac Wrote: How I can draw a spiral on the rope? Hi! Ropes are just meshes, rendered using a MeshFilter/MeshRenderer. So you write shaders for them like you do for any other object in Unity, there’s no difference whatsoever. Nothing specific you need to do in order to write a shader “for ropes”. Just write a shader that draws a spiral. If you’re new to shaders I’d suggest checking a few tutorials on the subject. Kind regards, |