Difference between revisions of "User:Viktoria Dovgal/Constraints"

From Second Life Wiki
Jump to navigation Jump to search
m
 
Line 11: Line 11:
:L_LOWER_LEG R_LOWER_LEG
:L_LOWER_LEG R_LOWER_LEG
:L_FOOT R_FOOT
:L_FOOT R_FOOT
<!--
<!--
  grep 'collision_volume ' character/avatar_skeleton.xml|sed -e's/.*name="//; s/".*//'
  grep 'collision_volume ' character/avatar_skeleton.xml|sed -e's/.*name="//; s/".*//'
-->
-->
Additionally from [http://svn.secondlife.com/trac/linden/browser/trunk/indra/llcharacter/llkeyframemotion.cpp llkeyframemotion.cpp:]
:GROUND
For use in [http://svn.secondlife.com/trac/linden/browser/trunk/indra/newview/app_settings/anim.ini anim.ini]:


Point constraint:
Point constraint:

Latest revision as of 03:44, 6 December 2009

Collision volumes from avatar_skeleton.xml

HEAD NECK CHEST BELLY PELVIS
L_CLAVICLE R_CLAVICLE
L_UPPER_ARM R_UPPER_ARM
L_LOWER_ARM R_LOWER_ARM
R_HAND L_HAND
L_UPPER_LEG R_UPPER_LEG
L_LOWER_LEG R_LOWER_LEG
L_FOOT R_FOOT

Additionally from llkeyframemotion.cpp:

GROUND


For use in anim.ini:

Point constraint:

constraint = 1 0.0 0.5 4.5 5.0 L_HAND 0.0 0.0 0.0 HEAD 0.0 0.2 0.1

Planar constraint: same values but constraint = becomes planar_constraint =

3 additional floats (vector target_dir) are optional in the format, but not used.