Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by jcl. 04/24/26 17:48
ZorroGPT
by TipmyPip. 04/23/26 14:23
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 3,176 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: help on level editor [Re: umphafiz] #267121
05/22/09 01:20
05/22/09 01:20
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi asif smile

Can't help you with your rays.

Many actions can run at the same time. wait (1);

Ottawa smile

Re: help on level editor [Re: Ottawa] #267598
05/25/09 10:53
05/25/09 10:53
Joined: Apr 2009
Posts: 18
U
umphafiz Offline OP
Newbie
umphafiz  Offline OP
Newbie
U

Joined: Apr 2009
Posts: 18
Hi Ottawa smirk

while implementing refraction, i came across some problems:

1. how can i check the material if the ray hit glass (in my wed file, i have placed two mirrors from prefab). i can check transmitter / receiver as these are entities by

if (you === Transmitter)

but what should i write for other objects?

2.Given that, the ray hit mirror then i will displace the ray by the size of the mirror (in cm or m) and then it will carry on without changing its direction, speed etc. as normally happens in refraction (when it comes out of the mirror and again in the same medium, air etc.). My problem is how to find the size of the mirror (thickness) and then add to my vector?

i hope you dont mind too much questioning:)
asif

Re: help on level editor [Re: umphafiz] #267708
05/25/09 23:45
05/25/09 23:45
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi asif! smile

Quote:
i have placed two mirrors from prefab


If your mirrors were entities you could give then an event.
EVENT_TOUCH
EVENT_DETECT just to name a few.

Ottawa smile

Page 3 of 3 1 2 3

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