Push Object -Player (RigidBody controller)
Hello, i have problem, my player dont have character controller his moving with rigid body . I wuld like to push box to be able to jump on that box and go to higher level of ground. I did it now with collisionenter in script and with trigger in animator ,and my player is pushing object and do the animation but somthing is not right..I think that is not right way.. can someone HELP?
and this is in script of playerMovement
void OnCollisionEnter(Collision collisioninfo) { if(collisioninfo.collider.tag == "Box") { animator.SetTrigger("pushing"); }
}
Your answer
Follow this Question
Related Questions
How to make rigidbody static ? 0 Answers
Pushing/pulling a 3D object using physics 0 Answers
Rigidbody.addForce is not working 10 Answers
How can i make a game run smoothly with rigidboies? 0 Answers
Rigidbody weird effect. 3 Answers