Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How to make a phone wire
#4
(18-01-2021, 09:01 AM)josemendez Wrote: Making the entire spiral shape using a rod sounds like overkill.

Instead, just use a straight rope/rod and use a texture or a shader to draw the spiral. Here's a good tutorial on it, it's for Unreal but the principles are exactly the same in any engine:
https://medium.com/xrlo-extended-reality...b47777d8ab

Obi would play the role of Unreal's builtin cable component.

It's pretty straightforward unless you're not comfortable with shaders. Let me know if you need help with it.
That looks cool! I will try your suggestion and come back here if i encountered any problems. Thanks!

(18-01-2021, 10:09 AM)josemendez Wrote: Here you go. Find attached a Unity port of the above tutorial.

Just use the CoiledWire shader in your rope (it's a surface shader, so will work in the built-in pipeline only), and add the CoiledWireController to it.

Here's a video of the result:



cheers!
Wow did you just make it? That's really cool! Thank you so much!!
Reply


Messages In This Thread
How to make a phone wire - by aliakbarm - 18-01-2021, 08:27 AM
RE: How to make a phone wire - by josemendez - 18-01-2021, 09:01 AM
RE: How to make a phone wire - by josemendez - 18-01-2021, 10:09 AM
RE: How to make a phone wire - by aliakbarm - 18-01-2021, 10:15 AM
RE: How to make a phone wire - by josemendez - 18-01-2021, 10:20 AM
RE: How to make a phone wire - by yusufbesim - 26-01-2021, 09:25 PM
RE: How to make a phone wire - by josemendez - 27-01-2021, 08:32 AM
RE: How to make a phone wire - by G_Gawi - 05-02-2022, 07:18 PM