Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,298 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How models ignore models by collision #185784
02/26/08 10:22
02/26/08 10:22
Joined: Feb 2008
Posts: 23
BW, Germany
X
xakac Offline OP
Newbie
xakac  Offline OP
Newbie
X

Joined: Feb 2008
Posts: 23
BW, Germany
Hi!
I can anybody help me?
I want to shoot down some water drop models with a beam of light. I have the light beam as a model too and this appears if i press Spacebar:

// Light beam OFF
if(!key_space){
set(my, TRANSLUCENT);
my.alpha = 0;
}

// Light beam ON
if(key_space){
reset(my, TRANSLUCENT);
my.alpha = 100;
}

Now my problem is, that if a light of beam is OFF, the water drop modells cannot go through them & encounter with them. How can I code it, that the water drop modells ignore the light beam, if this is OFF and go through, so as if there would be nothing?

Re: How models ignore models by collision [Re: xakac] #185785
02/26/08 22:58
02/26/08 22:58
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
I don`t know exactly what you mean. Maybe this?

...
set(my,TRANSLUCENT | PASSABLE);
...
...
reset(my,TRANSLUCENT | PASSABLE);
...


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