Gamestudio Links
Zorro Links
Newest Posts
phantom() not defined in indicators.c
by AndrewAMD. 08/05/26 17:49
Pause button for evaluation shell?
by AndrewAMD. 08/05/26 13:42
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
What are you working on?
by rayp. 07/24/26 22:58
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, AndrewAMD), 1,898 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19222 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bullets&Terrain #234745
11/04/08 15:13
11/04/08 15:13
Joined: Sep 2007
Posts: 52
Tver,Russia
D
dtntr Offline OP
Junior Member
dtntr  Offline OP
Junior Member
D

Joined: Sep 2007
Posts: 52
Tver,Russia
How i can detrmine which surface hit my bullet on terrain? I use multitexture shader on terrain.

Re: Bullets&Terrain [Re: dtntr] #234782
11/04/08 18:23
11/04/08 18:23
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
try retrieving the terrains (multicolor texture) pixel you shot.
then, see what colour that pixel is, and then according to that spawn an effect.

hope that idea helps smile

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Bullets&Terrain [Re: Helghast] #234793
11/04/08 19:14
11/04/08 19:14
Joined: Sep 2007
Posts: 52
Tver,Russia
D
dtntr Offline OP
Junior Member
dtntr  Offline OP
Junior Member
D

Joined: Sep 2007
Posts: 52
Tver,Russia
Give me some operator`s or command`s for it.


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

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