$jigglebone

From Valve Developer Community
Revision as of 12:42, 14 November 2007 by Ts2do (talk | contribs) (tabbed)
Jump to navigation Jump to search

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 etc.

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