Gamestudio Links
Zorro Links
Newest Posts
zorro license, IB connection
by AndrewAMD. 12/06/23 17:16
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
5 registered members (AndrewAMD, miwok, TipmyPip, 3run, 1 invisible), 631 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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 | 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