 | ITetrapodXTPart, TChainAlignToOtherTPart2, TChain2 Method |
Aligns one tetrapod's pose to that of another by teleporting the
Transforms in its
definition.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static void AlignToOther<TPart2, TChain2>(
ITetrapod<TPart, TChain> tetrapod,
ITetrapod<TPart2, TChain2> other
)
where TPart2 : Component
where TChain2 : struct, new(), IBodyChain<TChain2, TPart2>
Parameters
- tetrapod
- Type: CandlelightITetrapodTPart, TChain
The tetrapod to align. - other
- Type: CandlelightITetrapodTPart2, TChain2
The tetrapod whose pose should be copied.
Type Parameters
- TPart2
- The part type in the other tetrapod.
- TChain2
- The chain type in the other tetrapod.
See Also