Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,135 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Invisible blocks are passable? #351541
12/26/10 19:11
12/26/10 19:11
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hi, the manual tells that invisible blocks are still solid but some how... the are not! If I disable the invisible flag I see the blocks and there is a collision.

My mistake?

Re: Invisible blocks are passable? [Re: PadMalcom] #351546
12/26/10 20:34
12/26/10 20:34
Joined: Dec 2008
Posts: 271
Saturnus Offline
Member
Saturnus  Offline
Member

Joined: Dec 2008
Posts: 271
I haven't fiddled with the collision engine for quite a while, but recently I came across this info:

Originally Posted By: Manual: Block Properties
Invisible - Invisible block. When setting the Invisible = None flag in the map compiler dialog, the block is still used in the BSP tree, can clip away objects behind it, and throws static shadows. Otherwise it's completely invisible for the view and the AABB collision detection.

So apparently this compiler setting has to be enabled. However, invisible colliders that drop shadows aren't that great either... Perhaps there's a better solution? I'm interested in this, too.

Re: Invisible blocks are passable? [Re: Saturnus] #351547
12/26/10 20:55
12/26/10 20:55
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
I found it out, thanks for the hint with the compiler options! There is a checkbox saying "Invisible == None". When I enable this, the blocks cause a collision. If there are any disadvantages; I don't know yet laugh


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