1 registered members (AndrewAMD),
14,661
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Models origin...
#342884
10/01/10 19:15
10/01/10 19:15
|
Joined: May 2009
Posts: 5,377 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,377
Caucasus
|
I'm having problem, with bots BBOX. The problem is, that while playing animation frames, origin is under players feet. But, by default, origin is in the middle of model. Look at the picture, first one if default frame, and second is while plating animations. So after I create model in game, BBOX is under bots feet, looks like he is flying in the air... Any ideas how to fix this? I tried to change model origin, in animation frames, but there are too much of frames, and I'll need to place all of them, one by one...  May be there is an other way to fix this?
|
|
|
Re: Models origin...
[Re: 3run]
#342887
10/01/10 19:24
10/01/10 19:24
|
Joined: Aug 2009
Posts: 1,438 Spain
painkiller
Serious User
|
Serious User
Joined: Aug 2009
Posts: 1,438
Spain
|
maybe you san set manually the values of the bounding box
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
|
|
|
Re: Models origin...
[Re: jane]
#342922
10/02/10 09:26
10/02/10 09:26
|
Joined: May 2009
Posts: 5,377 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,377
Caucasus
|
Richi007 -> I've tried before to do, as you said. But, that way, only first frame is at the right position, all next frames still do have different origin from the first (changed) one. Don't know why that happens... jane -> I can't really get what you mean by default frame... Me, I mean by default frame, when Animate key is not turned on. So you aren't able to animate model at all, and bones are separated from vertexes. The second thing is, that in default (frame or position) origin is in the middle of the model, so there is no need to Center model global, there is no sense... While animating, I'm not able to transform it global  I have no ideas left, how to deal with this all...
|
|
|
Re: Models origin...
[Re: 3run]
#342926
10/02/10 09:43
10/02/10 09:43
|
Joined: Aug 2009
Posts: 1,438 Spain
painkiller
Serious User
|
Serious User
Joined: Aug 2009
Posts: 1,438
Spain
|
what about c_updatehull(ENTITY* ent, var frame) ?
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
|
|
|
|