$jigglebone: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Description: spelling)
m (tabbed)
Line 5: Line 5:
==Description==
==Description==


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


Used to simulate a bounce effect to models in real time like hair, cloth, tails etc.
Used to simulate a bounce effect to models in real time like hair, cloth, tails etc.
Line 22: Line 22:
Example is from the Antlion Worker.
Example is from the Antlion Worker.


  $jigglebone "Antlion.glasswingR_bone" {
$jigglebone "Antlion.glasswingR_bone" {
  is_flexible {
is_flexible {
  yaw_stiffness 700
yaw_stiffness 700
  yaw_damping 6
yaw_damping 6
  pitch_stiffness 700
pitch_stiffness 700
  pitch_damping 8
pitch_damping 8
  tip_mass 5
tip_mass 5
  length 30
length 30
  angle_constraint 37
angle_constraint 37
  }
}
  }
}
 
 
 
[[Category:QC Commands]]
[[Category:QC Commands]]

Revision as of 12:42, 14 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 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
	}
}