$jigglebone: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
($jigglebone article created, Article needs major improvement.)
 
Line 5: Line 5:
==Description==
==Description==


   $jigglebone "bone"
   $jigglebone "bone" {
   is_flexible {
   is_flexible {
   yaw_stiffness "stiffness value"
   yaw_stiffness "stiffness value"
Line 17: Line 17:
   }
   }


Used to simulate a bounce effect to models in real time like hair, cloth, tails ect.  
Used to simulate a bounce effect to models in real time like hair, cloth, tails ect.


==Example==
==Example==

Revision as of 16:56, 11 November 2007

Stub

This article or section is a stub. You can help by expanding it.

Adds a real time bounce effect to a model.

Description

 $jigglebone "bone" {
 is_flexible {
 yaw_stiffness "stiffness value"
 yaw_damping "damping value"
 pitch_stiffness "stiffness value"
 pitch_damping "damping value"
 tip_mass "mass"
 length "length value"
 angle_constraint "constraint value"
 }
 }

Used to simulate a bounce effect to models in real time like hair, cloth, tails ect.

Example

Example is from the Antlion Worker.

 $jigglebone "Antlion.glasswingR_bone" {
 is_flexible {
 yaw_stiffness 700
 yaw_damping 6
 pitch_stiffness 700
 pitch_damping 8
 tip_mass 5
 length 30
 angle_constraint 37
 }
 }