- Home /
"Tube Light" hanging in a Rope?
Hello. I need help/understanding on how to set up my "scene" & models + how to place the glow correctly.
- I want to have a tube light/fluorescent light hanging in the roof via something that looks like a rope or a wire. As in reality, I want only the "middle part" of that light glowing. Also I want the tube to have an mesh collider that bounces on my FPS controller.
I have been playing with the new "interactive cloth" physic that seems pretty cool for this project but don't exactly know how it works convert a cylinder-alike model to a cloth material.
My plan (and the questions):
- I make a thin cylinder in 3dsmax, representing my "electrical wire". I apply some cloth physic (I don't know if this is the best solution or how to do it) to make it "loose". <-- Help
- Then I make the tube, since I don't know how to just make only a part of a model glowing, I thought it would be easier to split up the middle section & the other up and then parent them together. Later in Unity, I also add the glow and the mesh collider to the object.
- Attaching the wire to the roof (Just make a part of the wire to through the roof?)
- Attaching the lower part of the wire to the tube model (This I have no idea about!)
- Done, maybe parent a point light to the tube, add some light fliker script to the glow, should not be to hard.
Should I do as in my plan or change something that could be done easier?
Thanks for every answer!
--Here is what I have in mind, explained in the picture.
--This is the light that I am thinking about moddeling.
--It is irrelevant, but at the moment, I have my room that looks something like this, but with textures.
Answer by LeiterJakab · Nov 08, 2010 at 06:47 PM
You could try using joints for the wire. Will Goldstone has a video on youtube about something similar. chain from joints
Well, it worked. But I don't find it easy getting that "smooth" effect from the cloth material. I can see a possibility of making over 9000 tiny joints connected, but that takes too much time. Is there a way of making a smooth wire? Didn't they add some new joint system in 3.0?
Sorry I've never tried anything like that. Hope that someone else can help since I find this issue interesting myself.
$$anonymous$$aybe you should split this into two seperate questions.
Your answer
Follow this Question
Related Questions
How to get a 'glow/highlight' effect on a object 1 Answer
How to make a game object light up only when its clicked on 2 Answers
Glowing column of light 1 Answer
help with tuberenderer and rope 1 Answer
Shaders And Lights 1 Answer