Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
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
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Help Can not use more than 19 Entitys #185872
02/26/08 21:58
02/26/08 21:58
Joined: Feb 2008
Posts: 22
R
RaceBert Offline OP
Newbie
RaceBert  Offline OP
Newbie
R

Joined: Feb 2008
Posts: 22
Hello,

when I try to use more than 19 Entitys, the objects will freeze. I only can move the camera.
I build a scene with a boulder (movable) and a wall with bricks.
It works fine with 18 bricks and one boulder but not more. Who can help me?
(sry, I am a n00b)


A8 PRO
Worst possible programmer (as bad as my english)
Re: Help Can not use more than 19 Entitys [Re: RaceBert] #185873
02/27/08 15:23
02/27/08 15:23
Joined: Feb 2008
Posts: 22
R
RaceBert Offline OP
Newbie
RaceBert  Offline OP
Newbie
R

Joined: Feb 2008
Posts: 22
It seem that the problem is not the number of entitys. If I use Spheres everything works fine but when I try to use boxes (for a destroyable brick construction) the problem happens again. The boxes are not extactly one on an other. (can not explain in english and do it in german: Die einzelnen Steine verschmelzen ein kleines Stück (rutschen ineinander) - if anybody can translate it - please do it)


A8 PRO
Worst possible programmer (as bad as my english)
Re: Help Can not use more than 19 Entitys [Re: RaceBert] #185874
02/27/08 17:22
02/27/08 17:22
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
You said the blocks "melt" together. Which version GS do you use? It could be as simple as the vertex snap is to large, it automatically aligns objects. It is possible that the bounding boxes cross which could lead to that the blocks get stuck in each other. Try to decrease the vertex snap in WED or change the bounding boxes of each block.
cheers

Re: Help Can not use more than 19 Entitys [Re: tindust] #185875
02/27/08 23:48
02/27/08 23:48
Joined: Feb 2008
Posts: 22
R
RaceBert Offline OP
Newbie
RaceBert  Offline OP
Newbie
R

Joined: Feb 2008
Posts: 22
Sounds fine but please explain it a bit more because I am a noob and my english is not really good. I am from Germany and I use A7 Extra

I made the Bricks with MED and placed it with the Script editor

Last edited by RaceBert; 02/27/08 23:50.

A8 PRO
Worst possible programmer (as bad as my english)
Re: Help Can not use more than 19 Entitys [Re: RaceBert] #185876
02/28/08 00:00
02/28/08 00:00
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
OK, then of course the vertex snap does not apply here since it is found in the A6 WED. Two things to look at then:
1/ When you initially place the blocks, make sure their position offset is large enough so that they separate a little.
2/ read up on "bounding box" in the manual. That will explain when there can be a problem with the bounding boxes.

Those would be the first two "simplest" things to check.

Re: Help Can not use more than 19 Entitys [Re: tindust] #185877
02/28/08 10:41
02/28/08 10:41
Joined: Feb 2008
Posts: 22
R
RaceBert Offline OP
Newbie
RaceBert  Offline OP
Newbie
R

Joined: Feb 2008
Posts: 22
I think I need to use the "c_setminmax(my)"
But I have no idea how it works, there are not enought information inside the manual.


A8 PRO
Worst possible programmer (as bad as my english)
Re: Help Can not use more than 19 Entitys [Re: RaceBert] #185878
02/28/08 14:59
02/28/08 14:59
Joined: Feb 2008
Posts: 22
R
RaceBert Offline OP
Newbie
RaceBert  Offline OP
Newbie
R

Joined: Feb 2008
Posts: 22
Sometimes it work, sometimes not and I can not find out a reason.
In some cases, the bricks stuck together and the physics stops.


A8 PRO
Worst possible programmer (as bad as my english)
Re: Help Can not use more than 19 Entitys [Re: RaceBert] #185879
02/28/08 16:29
02/28/08 16:29
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
The set minmax must be done for each model. Easiest is probably to do it when each entity is created. That is when the created entity has the me-pointer set to it. Just add the line: c_setminmax(my);. That will reset the bounding box for that particular entity. You could also set its hull to narrow.

Re: Help Can not use more than 19 Entitys [Re: tindust] #185880
02/28/08 21:25
02/28/08 21:25
Joined: Feb 2008
Posts: 22
R
RaceBert Offline OP
Newbie
RaceBert  Offline OP
Newbie
R

Joined: Feb 2008
Posts: 22
If I put 3 rows of bricks to build a wall the 21th stuck.
c_setminmax does not help
If I put 21 Bricks on different places I do not have that problems

If I use more than 40 Bricks some slide around like ants and has no shadow.

Last edited by RaceBert; 02/28/08 21:27.

A8 PRO
Worst possible programmer (as bad as my english)
Re: Help Can not use more than 19 Entitys [Re: RaceBert] #185881
02/28/08 22:22
02/28/08 22:22
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
Looks like it is improving at least. Have you done phent_settype where you can set the collision hull to ellipsoid, or have you set the entity flag my.POLYGON = on?
The Manual is your friend! Look up Hull, Collison etc.

Page 1 of 3 1 2 3

Moderated by  HeelX, Spirit 

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