Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Solved] Problem with a grid and the bounding box #422642
05/14/13 07:44
05/14/13 07:44
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
Hello,

I display a grid in my level. I have placed an object in my level. When I display a bounding box, I have a red line that connects the grid and the bounding box. How can I fix this?



Thanks for advance for your help Djfeeler

Last edited by rayp; 03/26/22 19:24. Reason: Removed Ukrain Images for Russian people.
Re: Problem with a grid and the bounding box [Re: djfeeler] #422644
05/14/13 07:52
05/14/13 07:52
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
You have to set the the color vector to NULL before you draw your bounding box:

Code:
draw_line3d(vector(x1,y1,0),NULL,100);


Re: Problem with a grid and the bounding box [Re: djfeeler] #422645
05/14/13 07:55
05/14/13 07:55
Joined: May 2013
Posts: 23
Somewhere
W
Wiseguy Offline
Newbie
Wiseguy  Offline
Newbie
W

Joined: May 2013
Posts: 23
Somewhere
Quoting the manual

Quote:
color - BGR end color of the line. The start color is the color of the last line draw call. The line is drawn in a smooth transition between the start and the end color. If NULL is given, no line is drawn, but the position is set for the start of the next line.


Please also take a look at the example.


His words are wise, his face is beard.
Re: Problem with a grid and the bounding box [Re: Wiseguy] #422646
05/14/13 08:00
05/14/13 08:00
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
Thanks for your response.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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