Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
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
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
1 registered members (AndrewAMD), 599 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Collision with invisible blocks? (Not working) #79862
06/28/06 22:39
06/28/06 22:39
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline OP
Expert
xXxGuitar511  Offline OP
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I have a level I'm working on, and I wanted to have "invisible" blocks in my level, for things such as boundaries, a cover for a staircase for smooth movement, etc.

But when I test my level, all of the "invisible" blocks are also passable, even though I didn't set their passable flags. My character walks straight through them. My movement simply uses a c_move with the "glide" flag.


xXxGuitar511
- Programmer
Re: Collision with invisible blocks? (Not working) [Re: xXxGuitar511] #79863
06/28/06 23:14
06/28/06 23:14

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Hi!

Take the block/s and create a separate mapentitiy (visible of cause).
Then place this mapentitiy in your level and set the invisible-flag.

This will work...

mercuryus

Re: Collision with invisible blocks? (Not working) [Re: ] #79864
07/05/06 23:00
07/05/06 23:00
Joined: May 2005
Posts: 155
C:\Program files\GStudio6
alphaindigo Offline
Member
alphaindigo  Offline
Member

Joined: May 2005
Posts: 155
C:\Program files\GStudio6
yeah invisible blocks are alyways passable it says so in the manual.. i think
that is if they are ;evel blocks...


beware the sock! - tLempoary...
Re: Collision with invisible blocks? (Not working) [Re: alphaindigo] #79865
07/06/06 03:06
07/06/06 03:06
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline OP
Expert
xXxGuitar511  Offline OP
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
thankz - i didn't think about that.

I will go create the map ents now...


xXxGuitar511
- Programmer
Re: Collision with invisible blocks? (Not working) [Re: xXxGuitar511] #79866
07/06/06 08:59
07/06/06 08:59
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
You can set your blocks to none :

select yout block->right click->properties->
surface->click flags->click None.

Compile and run, now your block is invisible and
not passable.

Re: Collision with invisible blocks? (Not working) [Re: vlau] #79867
07/13/06 07:17
07/13/06 07:17
Joined: May 2005
Posts: 138
jamrud khatulistiwa
Kotakide Offline
Member
Kotakide  Offline
Member

Joined: May 2005
Posts: 138
jamrud khatulistiwa
pick one texture and on the properties panel click none,
and attach the texture to a block that you wanna to be invisible.

Re: Collision with invisible blocks? (Not working) [Re: Kotakide] #79868
09/03/06 17:03
09/03/06 17:03
Joined: Aug 2006
Posts: 1
Germany - Bavaria
Tomix Offline
Guest
Tomix  Offline
Guest

Joined: Aug 2006
Posts: 1
Germany - Bavaria
Hi!

I'm playing with A6com 6.40.5 and the A6-template-scripts, 3d-shooter. I want to make a big bounding box (hollowed block) like in the flight workshop.

I tried following (block with standard texture):

- hollowed block, flat, invisible on, non passable => not working, model walked through
- hollowed block, none, invisible on, non passable => not working
- hollowed block build as wmp, paste into my level, none, invisible on, non passable => not working
so, that's making me really crazy
- now I loaded a prefab, none, invisible on, non passable => not working, the model walked through

When the invisible-flag is deactivated, the block / wmp's are visible and the models can't walked through => normal.
When the invisible-flag is deactivated and the none-flag ist activated, the block / wmp's are visible but black and the models can't walked through => normal.

I know, I'm making something wrong. But what?

Help - S.O.S. - help - please

Greetings Thomas

Re: Collision with invisible blocks? (Not working) [Re: vlau] #79869
09/03/06 20:39
09/03/06 20:39
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
Quote:

You can set your blocks to none :

select yout block->right click->properties->
surface->click flags->click None.

Compile and run, now your block is invisible and
not passable.




You can do this, but the block will still cast a shadow if a light source hits it; thus shadows from nothing. Before c_instructions, you could create collision geometry with invisible blocks(which don't cast shadows), but you now have to make them invisible map entities.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links

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