Update accessibility
This commit is contained in:
parent
1e616284c0
commit
c4bd28c4e7
@ -1327,7 +1327,7 @@ namespace Passer.Humanoid {
|
||||
|
||||
#region Update
|
||||
|
||||
protected void Update() {
|
||||
protected virtual void Update() {
|
||||
Controllers.Clear();
|
||||
UpdatePose();
|
||||
traditionalInput.UpdateGameController(gameController);
|
||||
@ -1338,7 +1338,7 @@ namespace Passer.Humanoid {
|
||||
UpdatePoseEvent();
|
||||
}
|
||||
|
||||
protected void FixedUpdate() {
|
||||
protected virtual void FixedUpdate() {
|
||||
DetermineCollision();
|
||||
CalculateMovement();
|
||||
CheckBodyPull();
|
||||
@ -1352,7 +1352,7 @@ namespace Passer.Humanoid {
|
||||
|
||||
}
|
||||
|
||||
protected void LateUpdate() {
|
||||
protected virtual void LateUpdate() {
|
||||
|
||||
PostAnimationCorrection();
|
||||
|
||||
@ -2073,7 +2073,7 @@ namespace Passer.Humanoid {
|
||||
rightUpperLegCollider.center = new Vector3(0, -rightUpperLeg.length / 2, 0);
|
||||
}
|
||||
|
||||
private void DetermineCollision() {
|
||||
protected void DetermineCollision() {
|
||||
if (proximitySpeed) {
|
||||
//float angle = Vector3.Angle(hitNormal, targetVelocity);
|
||||
collided = (triggerEntered && bodyCapsule.radius <= 0.25f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user