Jump to content

Cobwebs that move:


Bikerdude
 Share

Recommended Posts

Define "gently move".

 

A script could control the visibility of one of a set of cobwebs, each in a slightly different position. Only one is visible at a time, the others hidden. As each is progressively shown and the remaining hidden, the cobweb would appear to be moving around.

 

If you just want to rotate it or translate it, that would be a simpler solution.

Link to comment
Share on other sites

If you want the web to "bow" and keep its corners fixed, you'd need a set of webs, each portraying a different amount of bow.

 

1 - hide all the webs and show web N
2 - a fraction of a second later, show N+1 and hide N
3 - keep doing this until you run out of webs, then start over again

 

If you just want to move the web around, rather than having a set of webs in different places, you could alter a single web's origin.

 

1 - Start with the web at origin A.
2 - A fraction of a second later, change its origin to B.
3 - Keep changing the origin until you run out of origins, then start over from A.

 

In both cases, the movement is cyclical, in that it when it returns to the first web or first origin, it's not a distinct jump, but a smooth transition.

Link to comment
Share on other sites

if there are only a few webs to do im going this way:

 

creating the web (normally as an bulky square if they are hanging from the ceiling). Than create a func_pendulum and two func_rotate. bind the func_pendulum on the func_rotate to have a rotating pendulum. Now bind the second func_rotate on the func_pendulum to prevent the web rotating itself. and now binding the web on the second func_rotate. Now you have a "more direction" cobwebpendulum.

It is relative inefficient but looks very well and for a few webs its really ok.

Link to comment
Share on other sites

It is probaby easiest if an animator makes a "bow" animation of a small patch, then you can texture it with cobwebs etc.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • nbohr1more

      Anyone have any luck with light.setShader( string ) ? It seems to make whichever light you apply it to full-bright on the initial invoke?
      · 0 replies
    • thebigh

      I'm starting to think we need another mapping contest.
      · 9 replies
    • kano

      Don't you hate it when there's a quality discussion on a forum somewhere online about something, but then two disagreeing users derail and transform it into a back-and-forth poo slinging competition at one another?
      · 9 replies
    • Diego

      Oh look the status updates are back! 
      · 2 replies
    • JackFarmer

      After watching the first three and a half episodes of "The Sandman" last night, I realize once again that overly imaginative narratives are not for me. Also, the main actor looks like he has a toothache.
      Which makes me wonder, is there a Dark Mod mission with a medieval dentist?
      · 4 replies
×
×
  • Create New...