Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
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
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 622 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Creating Static Planes at Positions Other Than Z=0 #362916
03/10/11 01:11
03/10/11 01:11
Joined: Jul 2008
Posts: 168
8
82RJZAE Offline OP
Member
82RJZAE  Offline OP
Member
8

Joined: Jul 2008
Posts: 168
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

Re: Creating Static Planes at Positions Other Than Z=0 [Re: 82RJZAE] #362936
03/10/11 08:54
03/10/11 08:54
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
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.


Moderated by  old_bill, Tobias 

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