$jigglebone

From Valve Developer Community
Revision as of 16:54, 11 November 2007 by Frostbite (talk | contribs) ($jigglebone article created, Article needs major improvement.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
 }
 }