add some extra assets FX and SFX

This commit is contained in:
Robii Aragon
2026-03-29 23:03:14 -07:00
parent 6ef3eb1535
commit 24dc66a81e
10142 changed files with 2535978 additions and 36608 deletions

View File

@@ -179,12 +179,8 @@ public class upperBodyRotationSystem : MonoBehaviour
void Start ()
{
parentRot = spineTransform.parent.rotation;
parentRotInv = Quaternion.Inverse (parentRot);
calculateCharacterRotationValues ();
referenceLookDir = parentRotInv * transform.rotation * headLookVector.normalized;
referenceUpDir = parentRotInv * transform.rotation * headUpVector.normalized;
dirUp = referenceUpDir;
originalAngleDifference = maxBendingAngle;
weaponRotationPointToFollowLocated = weaponRotationPointToFollow != null;
@@ -196,6 +192,19 @@ public class upperBodyRotationSystem : MonoBehaviour
originalVerticalMaxAngleDifference = verticalMaxAngleDifference;
}
public void calculateCharacterRotationValues ()
{
parentRot = spineTransform.parent.rotation;
parentRotInv = Quaternion.Inverse (parentRot);
referenceLookDir = parentRotInv * transform.rotation * headLookVector.normalized;
referenceUpDir = parentRotInv * transform.rotation * headUpVector.normalized;
dirUp = referenceUpDir;
}
void FixedUpdate ()
{
if (IKUpperBodyActive) {
@@ -560,6 +569,7 @@ public class upperBodyRotationSystem : MonoBehaviour
public void setCurrentBodyRotation (float bodyRotation)
{
currentExtraRotation = bodyRotation;
auxCurrentExtraRotation = currentExtraRotation;
}
@@ -781,6 +791,16 @@ public class upperBodyRotationSystem : MonoBehaviour
}
}
public Transform getChestTransform ()
{
return chestTransform;
}
public void setNewChestUpVectorValueOnRuntime (Vector3 newValue)
{
chestUpVector = newValue;
}
//EDITOR FUNCTIONS
public void setNewChestUpVectorValue (Vector3 newValue)
{