Hollow Cubes

Posted By: log2

Hollow Cubes - 09/19/08 19:28

Is there any way to make a cube at say (0,0,0) with a certain size, we'll say (100, 100, 50)

Ok so it's a rectangle, but same thing, anyone know of a way to do this?

Thanks
Posted By: PiLX

Re: Hollow Cubes - 09/19/08 20:56

Use Med create a cube, scale it to the size you need.. (if its hollow.. invert the faces (flip normals tool)) then use ent_create to place it in your level.

hope it helps..
Posted By: log2

Re: Hollow Cubes - 09/19/08 21:28

hmm it does help slightly, but I think I was a little too vague, I want to make a block, as in if I don't have WED all I have is Lite-C and I want to create a level that has a block in it, where in WED you'd go to the add object menu or whatever, and add cube, then hollow block after that, so I can walk in the level, without using terrain if possible, because I'd still need a skycube even with a terrain..


But yea, i hope I cleared that up a bit, I tend to ramble on, but any help beyond that is appreciated, thanks
Posted By: PiLX

Re: Hollow Cubes - 09/19/08 21:55

you can do it they way ive said.. with a combination of c_move,c_setminmax and set(my,POLYGON); you can use models for level geometry, terrains whatever..

you dont have the model editor?.

EDIT: sorry if im not understanding exactly what you want..

Posted By: log2

Re: Hollow Cubes - 09/19/08 22:05

Yea I do, and sorry, I didn't know that would work like that, I assume it's fully possible to walk inside the cube, as in, if I flip the faces in MED?
Posted By: PiLX

Re: Hollow Cubes - 09/19/08 22:09

yes, it will work..

aslong as you set its bouding box to its real dimensions. etc. like i said above.

EDIT: any camera your using will have to be tweaked for collision against models though.. just to add.
Posted By: log2

Re: Hollow Cubes - 09/19/08 22:35

ok that's not a problem, thanks a bunch for your help laugh much appreciated
© 2024 lite-C Forums