Dear Sirs,
I'm a growing fan of the UCC asset. One thing which I enjoy is that the character when walking has an IK that tries to look at the mouse position or the crosshairs.
For the Top-Down set-up the character appears to be turning his head in the left-right axis. However I would like to have the character to also be able to look to the ground(or wherever the cross-hairs are in the vertical direction).
For example when moving the crosshairs close to the characters feet he keeps looking straight-ahead, while for a lot of reasons it would be more natural if he can look and aim down as well - in fact the character can shoot the ground close to his feet (the camera accounts for the vertical look direction), but isn't IK aiming/looking there which looks weird. For example he aims straight ahead with his gun, but the bullet comes out at a downward angle.
Now in the pseudo-2.5 d set-up the character's look IK can look to the ground when aiming there (so the code is there).
How do I enable the character to also be able to look down (e.g. at his feet, when the cross-hairs are there) or up when the crosshairs are on the top of a pile of creates in the Top-Down perspective?
In essence I would like to have the IK be such that it tries to follow the mouse/crosshairs not just in the horizontal, but also in the vertical direction.
Thanks!
I'm a growing fan of the UCC asset. One thing which I enjoy is that the character when walking has an IK that tries to look at the mouse position or the crosshairs.
For the Top-Down set-up the character appears to be turning his head in the left-right axis. However I would like to have the character to also be able to look to the ground(or wherever the cross-hairs are in the vertical direction).
For example when moving the crosshairs close to the characters feet he keeps looking straight-ahead, while for a lot of reasons it would be more natural if he can look and aim down as well - in fact the character can shoot the ground close to his feet (the camera accounts for the vertical look direction), but isn't IK aiming/looking there which looks weird. For example he aims straight ahead with his gun, but the bullet comes out at a downward angle.
Now in the pseudo-2.5 d set-up the character's look IK can look to the ground when aiming there (so the code is there).
How do I enable the character to also be able to look down (e.g. at his feet, when the cross-hairs are there) or up when the crosshairs are on the top of a pile of creates in the Top-Down perspective?
In essence I would like to have the IK be such that it tries to follow the mouse/crosshairs not just in the horizontal, but also in the vertical direction.
Thanks!