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
0 registered members (), 18,561 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
3D model grows up on the ground #397021
03/13/12 17:05
03/13/12 17:05
Joined: Jan 2012
Posts: 39
B
BySharDe Offline OP
Newbie
BySharDe  Offline OP
Newbie
B

Joined: Jan 2012
Posts: 39
I have a 3d model(a spelling word like "Acknex") and want it coming out little by little, like a line of grass growing up on the ground.
I have thought a lot and have no idea. Anyone get it?

Re: 3D model grows up on the ground [Re: BySharDe] #397029
03/13/12 18:36
03/13/12 18:36
Joined: Sep 2009
Posts: 1,032
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,032
Budapest
Assumed your model is under the ground exactly.
Code:
for(i=0;i<your_model.max_z;i++) {
	your_model.z++;
	wait(-0.4);
}


Not tested.

Last edited by Aku_Aku; 03/13/12 18:37.
Re: 3D model grows up on the ground [Re: Aku_Aku] #397030
03/13/12 18:39
03/13/12 18:39
Joined: Feb 2005
Posts: 3,687
Hessen, Germany
T
Tempelbauer Offline
Expert
Tempelbauer  Offline
Expert
T

Joined: Feb 2005
Posts: 3,687
Hessen, Germany
additionaly you could play with the scale_x/y/z-parameters (lets say, starting with the half size and grow to the full size)

Re: 3D model grows up on the ground [Re: Tempelbauer] #397077
03/14/12 09:10
03/14/12 09:10
Joined: Jan 2012
Posts: 39
B
BySharDe Offline OP
Newbie
BySharDe  Offline OP
Newbie
B

Joined: Jan 2012
Posts: 39
Yes, scale_x/y/z is helpful.
obj.z is not suitable at this case.

Re: 3D model grows up on the ground [Re: BySharDe] #397085
03/14/12 13:07
03/14/12 13:07
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
put the origin of the model at the bottom of the model in the center. change the scale_'s to 0. increment them slowly to 1.0.

tada.


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