Creating Static Planes at Positions Other Than Z=0

Posted By: 82RJZAE

Creating Static Planes at Positions Other Than Z=0 - 03/10/11 01:11

Hi JCL,

The function pXent_settype (ENTITY* entity, var type, var hull ) can be used to set a static ground plane at z=0 using PH_PLANE as the hull.

Code:
pXent_settype (NULL,PH_STATIC,PH_PLANE); // create a static plane at groundlevel zero


Is there a way to set a static plane at different positions other than z=0? Is it possible to set the static plane so that it is vertical and offset?

Link to the original thread.

Thanks,
82RJZAE
Posted By: jcl

Re: Creating Static Planes at Positions Other Than Z=0 - 03/10/11 08:54

No. The z=0 plane also has no practical purpose and is merely for quickly testing something.

For a real project, just create an entity based plane in any position you want.
© 2023 lite-C Forums