Difference between revisions of "Starbreeze OpenCOLLADA extensions"

From COLLADA Public Wiki
Jump to navigation Jump to search
(Created page with "{{extension|company=Starbreeze|product=OpenCOLLADA}} == Event == Animation markup events are to be applied to each individual clip exported into COLLADA format. Animation mar...")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{extension|company=Starbreeze|product=OpenCOLLADA}}
 
{{extension|company=Starbreeze|product=OpenCOLLADA}}
  
== Event ==
+
This page describes the extensions for the [[OpenCOLLADA]] plugins.
Animation markup events are to be applied to each individual clip exported into COLLADA format.
+
* [[Event extension]]
Animation markup event is for gameplay programmers to be able to trigger certain events at user defined timing on an animation clip.
+
* [[physics_material OpenCOLLADA extension]]
Each clip can have multiple animation markup events.
+
* [[rigid_body OpenCOLLADA extension]]
 
+
* [[rigid_constraint OpenCOLLADA extension]]
 
+
* [[shape OpenCOLLADA extension]]
{| border=1 cellspacing=0 cellpadding=3 align=center
 
|-
 
!width=20%| Element !! Attributes supported !! Description
 
|-
 
| <event> || || Contain all events for the specified clip.
 
|-
 
| <timestamp> || id, count  || a <float_array> of TIME value.
 
|-
 
| <markers> || id, count || a <Name_array> of MARKERS values.
 
|-
 
|}
 
 
 
 
 
== Example ==
 
 
 
<animation_clip id="clip2" start="0" end="4.7666667">
 
      <instance_animation url="#clip2_c_torso_a_ue"/>
 
      <instance_animation url="#clip2_c_torso_b_ue"/>
 
      <instance_animation url="#clip2_c_torso_c_ue"/>
 
      <extra>
 
          <technique profile="OpenCOLLADAMaya">
 
              <event>
 
                <timestamps id="clip2-marker-input-array" count="4">0 1 2.26 3.56 </timestamps>
 
                <markers id="clip2-marker-name-array" count="4">Foot_L Foot_R Foot_L Hand_L </markers>
 
              </event>
 
          </technique>
 
      </extra>
 
</animation_clip>
 
 
 
 
 
== Maya ==
 
 
 
Script to have extra attribute with 2 fields (float=timing and string=markerName)
 
 
 
addAttr -longName Markers -numberOfChildren 2 -attributeType compound -multi;
 
addAttr -longName Time -at "float" -parent Markers;
 
addAttr -longName ID -dt "string" -parent Markers;
 

Latest revision as of 15:43, 29 November 2016

Extension information
  • Purpose: unstated
  • Company(s): Starbreeze
  • Product(s): OpenCOLLADA
  • Last updated: unstated
  • Contact for technical issues:
This article is part of the COLLADA extensions directory
Adding to the extensions directory

This page describes the extensions for the OpenCOLLADA plugins.