Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
readings #139288
07/03/07 10:40
07/03/07 10:40
Joined: Apr 2007
Posts: 83
prog Offline OP
Junior Member
prog  Offline OP
Junior Member

Joined: Apr 2007
Posts: 83
I want to fill the test-tube with the given liquids(A, B,C) based on the given readings.
During runtime the test-tube has to be filled using mouse press or using arrows on the keyboard with the coresponding liquids.

Re: readings [Re: prog] #139289
07/06/07 19:08
07/06/07 19:08
Joined: Apr 2005
Posts: 67
InnerSpace
dudeBot Offline
Junior Member
dudeBot  Offline
Junior Member

Joined: Apr 2005
Posts: 67
InnerSpace
There may be some easier ways to do this, but if I had to do
this, I would create a model that "fits" into the test tube,
and animate the "top" vertices moving from a low postion
on the z-axiz(no liquid) to a higher position on the
z-axis (filled). Your interface could adjust the percentage
setting in ent_animate to correspond to the desired amount of liqud.

I would also set the alpha to 0 when there is not supposed to be
any liquid and increase it when it the fill level first increases.

Hope this helps.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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