Game Development Community

Mount point ppppproblem

by game4Rest · in Artist Corner · 08/30/2006 (7:18 pm) · 2 replies

Greetings!

I've been searching for the answer for quite a lot time to get the answer for my problem. But it seems like there is no thread which answers. So, would you please read this and give me any tips?

I made human's body and hair separately. I done this to allow my players to change their hair as they like just by mounting the new hair dts file. So as you may suppose I made mount points. One in the player.dts named mount1 and the other in the hair.dts named just mount. I exported them successfuly. But when I load them together in the game, they are not coincide with each other.

I matched the coordination of each mount point, so I thought it will work properly. However, what I saw in the game is the hair that's not stuck properly on my player's head. It located back of the head or if I tried to change the position of it with 3D graphic tool, now it is in front of head in the game.
I controled pivot point, so it's direction is fine. So, I have two questions.

1. How can I match the position of two mount points? In other words, how can I make the the hair locate properly on the player?

2. The hair follows well when the player moves even though it's position is not desirable. The problem is that the hair just follows the character's direction. When the character's head moves to right or left during animation, the hair doesn't follow the head. It looks like the mount point ignores rotation animation or it is not attached to the player's mount point properly.

So, would anyone give me any advice regarding this? I've been spending too much time on this.

Thanks in advance.

Hongjin

edit:more explanation

#1
09/01/2006 (7:12 am)
We discovered that if you using the bounding box' pivot point instead of two mount points, it seems to work better. So.. basically you would move the pivot point of the hair to the mountpoint you have. Don't export the mountpoint and use the pivot instead to mount to the heads mountpoint.

As for the rotation. Make sure the mountpoint is parented under the joint the drives the head vertices.

Hope this helps,
Fredrik S
#2
09/03/2006 (6:39 pm)
@Fredrik:
Thank you so much for your help. Your advice solved my problem. Now everything goes wonderful.

Hongjin