Third Person Cover Shooter  1.6
CoverShooter.CharacterIK Struct Reference

Public Member Functions

Transform GetBone (HumanBodyBones bone)
 Finds a bone by type. More...
 
void Setup (CharacterMotor motor)
 Set up the character IK when creating the character. More...
 
void Mirror (Transform right, Transform left, bool preferSwapping)
 Swaps right and left hands. More...
 
void Unmirror ()
 Unswaps right and left hands. More...
 
void Hit (Vector3 normal, float strength, float wait)
 Applies a transformation based on the bullet direction. More...
 
void Skip ()
 Set timers and intensities to zero. More...
 
void ImmediateArmAim ()
 Immediately sets arm aim intensity to 1. More...
 
void Update (IKConfig config)
 Moves bones. More...
 

Public Attributes

Transform Sight
 Sight transform that was found inside the character's head object. More...
 

Properties

bool HasSwitchedHands [get]
 Is the main hand currently left. More...
 
bool IsAimingArms [get]
 True if arm aim intensity is at least 90%. More...
 

Member Function Documentation

◆ GetBone()

Transform CoverShooter.CharacterIK.GetBone ( HumanBodyBones  bone)

Finds a bone by type.

◆ Hit()

void CoverShooter.CharacterIK.Hit ( Vector3  normal,
float  strength,
float  wait 
)

Applies a transformation based on the bullet direction.

◆ ImmediateArmAim()

void CoverShooter.CharacterIK.ImmediateArmAim ( )

Immediately sets arm aim intensity to 1.

◆ Mirror()

void CoverShooter.CharacterIK.Mirror ( Transform  right,
Transform  left,
bool  preferSwapping 
)

Swaps right and left hands.

◆ Setup()

void CoverShooter.CharacterIK.Setup ( CharacterMotor  motor)

Set up the character IK when creating the character.

Finds bone chains.

◆ Skip()

void CoverShooter.CharacterIK.Skip ( )

Set timers and intensities to zero.

◆ Unmirror()

void CoverShooter.CharacterIK.Unmirror ( )

Unswaps right and left hands.

◆ Update()

void CoverShooter.CharacterIK.Update ( IKConfig  config)

Moves bones.

Member Data Documentation

◆ Sight

Transform CoverShooter.CharacterIK.Sight

Sight transform that was found inside the character's head object.

Property Documentation

◆ HasSwitchedHands

bool CoverShooter.CharacterIK.HasSwitchedHands
get

Is the main hand currently left.

◆ IsAimingArms

bool CoverShooter.CharacterIK.IsAimingArms
get

True if arm aim intensity is at least 90%.


The documentation for this struct was generated from the following file: