2 registered members (AndrewAMD, VoroneTZ),
779
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
How can a character's Head look at a player ?
#78735
06/20/06 18:30
06/20/06 18:30
|
Joined: Feb 2005
Posts: 63 Germany,
Logimator
OP
Junior Member
|
OP
Junior Member
Joined: Feb 2005
Posts: 63
Germany,
|
Hello friends, i just want a human model's Head follow another walking character, so it's looking on (like Valve did it e.g. in Half Live 2). Of course i can create a corresonding bone-animation, but it's not working in this case, because the position of the moving character is dynamically. Does anyone know, how i can "animate" the head to look onto the character with a smooth animation like ent_animate ? Thanks for help
|
|
|
Re: How can a character's Head look at a player ?
[Re: Logimator]
#78738
06/22/06 23:45
06/22/06 23:45
|
Joined: Sep 2002
Posts: 8,177 Netherlands
PHeMoX
Senior Expert
|
Senior Expert
Joined: Sep 2002
Posts: 8,177
Netherlands
|
The easy way but slightly ugly way: Just make the head as a seperate model and attach it to your model and simply rotate to look at the enemies ... The slightly more difficult way: Animate with bones and change the percentage of the animation according to where the enemy is. Since humans are no owls you have to limit the turning of the head anyways, so it doesn't need to be perfect. Cheers
|
|
|
|