I want to target center position of enemy character.
It is fbx file and has many child joints and objects.
But if player shoot missile to enemy, missile go to enemy’s foot position. (below of enemy)
Enemy has capsule collider rigidbody.
So I think to target capsule collider’s center position.
And I changed targeting script from
[ enemy.transform.position ]
to
[ enemy.transform.collider.center ]
But this does not work.
How to fix it?
Thanks.