Go Back   Steam Users' Forums > Steam Tool Discussions > Source Art & Sound Design

Reply
 
Thread Tools Display Modes
Old 01-26-2008, 05:16 PM   #1
Sodabus
 
Join Date: May 2007
Reputation: 0
Posts: 113
$jigglebone syntax and parameters

I couldn't find any information about $jigglebone other than the Antlion Worker example on the VDC, so I looked in the source for the orangebox studiomdl and came up with the following.

(Note: my knowledge of C++ is minimal at best, so there's a chance that this information could have errors. Could someone out there lend a hand?)

General "$jigglebone" Syntax
Code:
$jigglebone "NameOfBone"
{
	JiggleBoneType
	{
		parameter		value
	}
}
Example: Antlion Worker
Code:
$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
	}
}
Assorted Parameters

Jiggle Bone Types
Code:
is_flexible
is_rigid
has_base_spring
Common Parameters
Code:
tip_mass
length			(default 10.0)
angle_constraint
yaw_constraint
yaw_friction
yaw_bounce
pitch_constraint
pitch_friction
pitch_bounce
"is_flexible" Parameters (float values clamped between 0.0 and 1000.0)
Code:
yaw_stiffness		(default 100.0)
yaw_damping
pitch_stiffness		(default 100.0)
pitch_damping
along_stiffness 	(default 100.0)
along_damping
allow_length_flex
"is_rigid" Parameters
(None; empty block)

"has_base_spring" parameters
Code:
stiffness 		(default 100.0 clamped between 0.0 and 1000.0)
damping 		(clamped between 0.0 and 10.0)
left_constraint 	(min default -100)	(max default 100)
left_friction
up_constraint 		(min default -100)	(max default 100)
up_friction
forward_constraint 	(min default -100) 	(max default 100)
forward_friction
base_mass
Sodabus is offline  
Reply With Quote
Old 02-16-2008, 09:28 AM   #2
jRocket
 
Guest
Posts: n/a
Thanks. This will be useful to me in the future. This should be on a wiki.
  Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Art & Sound Design


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 04:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.