Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
Models origin... #342884
10/01/10 19:15
10/01/10 19:15
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline 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... frown May be there is an other way to fix this?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Models origin... [Re: 3run] #342887
10/01/10 19:24
10/01/10 19:24
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
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: painkiller] #342888
10/01/10 19:25
10/01/10 19:25
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
I tried, then bot touches ground, but he doesn't turn to player at all... he walks straight ahead... So, I guess that is not a good idea... frown


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Models origin... [Re: 3run] #342890
10/01/10 19:49
10/01/10 19:49
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
open the model, set animate, select first! frame and move your model up, so the origin is the origin you want


Visit my site: www.masterq32.de
Re: Models origin... [Re: 3run] #342891
10/01/10 20:04
10/01/10 20:04
Joined: Nov 2008
Posts: 216
J
jane Offline
Member
jane  Offline
Member
J

Joined: Nov 2008
Posts: 216
move in the MED the default frame ("Object"->"Manage Frames")on last position and use "Object" --> "Transform Global" --> Center model.

activate "Animate" go to the last frame(default) and adjust them and
move the dafault frame back on the first position

Re: Models origin... [Re: jane] #342922
10/02/10 09:26
10/02/10 09:26
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline 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 frown

I have no ideas left, how to deal with this all...


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Models origin... [Re: 3run] #342926
10/02/10 09:43
10/02/10 09:43
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
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
Re: Models origin... [Re: painkiller] #342931
10/02/10 10:03
10/02/10 10:03
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
I've tried that too. Same, no luck frown


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Models origin... [Re: 3run] #342946
10/02/10 12:14
10/02/10 12:14
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
There are two solutions left IMO:
A) the model has to be corrected before it gets imported to MED.
B) in MED you erase the position values of the bone that is parent to all other bones. Before you do so, you have to investigate the moves of this bone. Its moves are most probably an 'up and down' in the walk animation. After erasing its position values, the model should have the origin in its middle in each frame. Then you have to adjust its position in each frame.

Re: Models origin... [Re: Pappenheimer] #342947
10/02/10 12:18
10/02/10 12:18
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
There are 700 frames! And more that 10 models!
That means 7000 frames!!!! Are you kidding?! Do I have to deal with each frame separately?!?!?!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 1 of 4 1 2 3 4

Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1