Pick Up Physics Object grab Center Of Mass
Hello. So i have som problem, I followed this tutoria Pick Up Physics Object Tutorial, and I had two problems. I tried to solve them myself but after a week of torment, I realized that without the help I can not do it.
I use ThirdPersonTemp and everything works fine. But... problems
1) because that is ThirdPerson FollowCamera is slightly behind and to the right of the player. And if you press the button, the object is taken and is flying toward the player. In the distance equal to the length of the CameraBoom. 2) when the object Pick Up he moves a couple of units to the player, (probably because it grabs on COM and not on impact of lineTrace, or maybe because its first problem) and then hangs up.
So what exactly do I need? I need to when I took the object, he remained in the same place as where it was. And not jump to player. Just like amnesia style or something.
And here is pastebin All the code(one thing, COM is not connected, i forgot to do this when copy\paste) If that can help. thx.
I apologize if something is not clear, English is not my native language. I can understand almost everything. But for writing Google helps me =(
Follow this question
Once you sign in you will be able to subscribe for any updates here