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/0815:2302/27/0815:23
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/0817:2202/27/0817:22
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/0823:4802/27/0823:48
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/0810:4102/28/0810:41
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/0821:2502/28/0821:25
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.