bi3mer / SeniorProject

Senior Project Game
MIT License
1 stars 1 forks source link

I lift the player up and I put her down. #810

Closed mpb84 closed 7 years ago

mpb84 commented 7 years ago

Window washers should not teleport no more.

bi3mer commented 7 years ago

also i can't use it atm, but we talked.

bi3mer commented 7 years ago

I fixed two issues with this pull request where you copied and pasted my suggestion and didn't check if it worked (cowboy coding)

but the game also doesn't run regardless

itiating IKSolver with null root Transform.
UnityEngine.Debug:LogError(Object)
RootMotion.FinalIK.IKSolver:Initiate(Transform) (at Assets/Plugins/RootMotion/FinalIK/IK Solvers/IKSolver.cs:33)
RootMotion.FinalIK.IKSolver:Update() (at Assets/Plugins/RootMotion/FinalIK/IK Solvers/IKSolver.cs:58)
RootMotion.FinalIK.BipedIK:UpdateSolver() (at Assets/Plugins/RootMotion/FinalIK/BipedIK/BipedIK.cs:306)
RootMotion.SolverManager:LateUpdate() (at Assets/Plugins/RootMotion/Shared Scripts/SolverManager.cs:113)
NullReferenceException: Object reference not set to an instance of an object
PlayerController.CheckGround () (at Assets/Scripts/Player/PlayerController.cs:533)
PlayerController.FixedUpdate () (at Assets/Scripts/Player/PlayerController.cs:381)
NullReferenceException
UnityEngine.Transform.get_localPosition () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs:41)
RootMotion.FinalIK.IKSolver+Point.FixTransform () (at Assets/Plugins/RootMotion/FinalIK/IK Solvers/IKSolver.cs:182)
RootMotion.FinalIK.IKSolverTrigonometric.FixTransforms () (at Assets/Plugins/RootMotion/FinalIK/IK Solvers/IKSolverTrigonometric.cs:122)
RootMotion.FinalIK.BipedIK.FixTransforms () (at Assets/Plugins/RootMotion/FinalIK/BipedIK/BipedIK.cs:265)
RootMotion.SolverManager.Update () (at Assets/Plugins/RootMotion/Shared Scripts/SolverManager.cs:69)

etc.

bi3mer commented 7 years ago

just the two conflicts and it's good to go