Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 29,302 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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,035
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,035
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