Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,561 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Disappearing Walls, Ceiling, Floors... #143204
07/24/07 21:11
07/24/07 21:11
Joined: Jun 2006
Posts: 22
H
Homifier Offline OP
Newbie
Homifier  Offline OP
Newbie
H

Joined: Jun 2006
Posts: 22
I noticed while playing some of my levels, at certain points of veiw, all the floors, walls, ceilings ,ect. disappear. I tried making my walls thicker, but it didnt help. Anyone know how to fix this?

Re: Disappearing Walls, Ceiling, Floors... [Re: Homifier] #143205
07/24/07 22:30
07/24/07 22:30
Joined: Jul 2005
Posts: 79
Bonn, Germany
KuleskoStudios Offline
Junior Member
KuleskoStudios  Offline
Junior Member

Joined: Jul 2005
Posts: 79
Bonn, Germany
This happens because your camera gets behind some walls, I think.The problem is that the backfaces are not shown so the part of your level seems to disappear. What you need is a camera collisionsystem. just trace from the point, the camera is aiming to, to the position your camera should be placed at, if there wasn't a wall. And then make the camera be placed either at your planned position or at the target on the wall. here an example from my game silent wg:

Code:
		vec_Set(temp,nullvector);
vec_set(temp,vector(-180,0,160));//I want the camera at 180 //behind the player and 160 above him
vec_rotate(temp,player.pan);//this rotates the vector
vec_add(temp,player.x);//this finally sets the vector to the //position I wanted
c_trace(vector(player.x,player.y,temp.z),temp,ignore_me+ignore_you+ignore_passable+ignore_passents+ignore_models+ignore_sprites);
if(result==0){//if there isn't a wall
vec_set(camera.x,temp);
}else{
vec_set(camera.x,target);
}



you would have to put it in a while loop and thats it.


KuleskoStudios - think differently
http://kstudios.de * Tutorials ~ Games ~ Downloads ~ Resources *

Demo: Erster Prototyp für die BlackBox Adventure Game Serie
Re: Disappearing Walls, Ceiling, Floors... [Re: KuleskoStudios] #143206
07/25/07 16:13
07/25/07 16:13
Joined: Jun 2006
Posts: 22
H
Homifier Offline OP
Newbie
Homifier  Offline OP
Newbie
H

Joined: Jun 2006
Posts: 22
I thought it may be that, but I made a HUGE room; large enough that the camera couldn't get caught, and it still did it.

And I should have mentioned this earlier, but sometimes only certain walls disappear, and sometimes, none of the walls disappear, usually if I'm looking straight forwards.

Re: Disappearing Walls, Ceiling, Floors... [Re: Homifier] #143207
07/25/07 16:24
07/25/07 16:24
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
if you open the project manager you can change the settings with display and camera collision.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Disappearing Walls, Ceiling, Floors... [Re: Blink] #143208
07/25/07 16:44
07/25/07 16:44
Joined: Jun 2006
Posts: 22
H
Homifier Offline OP
Newbie
Homifier  Offline OP
Newbie
H

Joined: Jun 2006
Posts: 22
Sorry, I'm new, how do I do that?

Re: Disappearing Walls, Ceiling, Floors... [Re: Homifier] #143209
07/25/07 20:35
07/25/07 20:35
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
in WED look under file, then project manager, then look at customize, and select display, and customize button to open up the dialog. you can change a bunch of different settings there. and if you are using a 3rd person camera you can customize the collision for the camera and models there too. i hope this helps, good luck!


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Disappearing Walls, Ceiling, Floors... [Re: Blink] #143210
07/25/07 23:13
07/25/07 23:13
Joined: Jun 2006
Posts: 22
H
Homifier Offline OP
Newbie
Homifier  Offline OP
Newbie
H

Joined: Jun 2006
Posts: 22
K, the problem seemed to have fixed itself somehow...

Now I get 3 error messages when I try to run it, saying that it can't open the camera files. Help.

Re: Disappearing Walls, Ceiling, Floors... [Re: Homifier] #143211
07/25/07 23:40
07/25/07 23:40
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
go into project manager again and add the cameras that are missing.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."

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