Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Akow, TipmyPip, tomaslolo), 788 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Collision Problem #263836
05/02/09 16:38
05/02/09 16:38
Joined: Aug 2002
Posts: 681
Massachusetts, USA
Ichiro Offline OP
User
Ichiro  Offline OP
User

Joined: Aug 2002
Posts: 681
Massachusetts, USA
Hi. I'm trying to track down a clipping problem, but am unable to isolate it such that I can either a) fix it in our code or b) send over a small project to demonstrate the behavior. What's happening is this:

1. We create a map entity with ent_create().

2. Shooting c_trace rays (IGNORE_PASSABLE | IGNORE_PASSENTS | USE_BOX | IGNORE_ME | IGNORE_PUSH) through it from above (for example, in the green circle, below) result in the expected collision -- however, running it over other parts of the model (in the red circle, below) of it fail out as though the entity isn't present (i.e., the ray passes right through it):



3. Moving that map entity to another position sometimes fixes the problem.

4. I have been unable to reproduce this with a small test case, using the same models. I am using v7.73.1.

Question: Does this suggest anything? I'm trying to track down a way to either fix the issue or make it pop up in our test case, but with no luck.

Thank you!


Dejobaan Games - Bringing you quality video games for over 75 years.
Re: Collision Problem [Re: Ichiro] #263916
05/03/09 07:18
05/03/09 07:18
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Maybe, the bounding box, min_x/max_x etc. of the map entity is too small and convers only the green circle and not the red circle? At least, this is the best idea I have to offer smile.

Re: Collision Problem [Re: Spirit] #264066
05/04/09 07:05
05/04/09 07:05
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Make also sure you compiled the map entity in A7 mode. Also, does it work without USE_BOX? If not, can you upload or send that level to Support? We'll look into it.

Re: Collision Problem [Re: jcl] #264182
05/04/09 20:52
05/04/09 20:52
Joined: Aug 2002
Posts: 681
Massachusetts, USA
Ichiro Offline OP
User
Ichiro  Offline OP
User

Joined: Aug 2002
Posts: 681
Massachusetts, USA
Thanks, guys. I'm going to look into your suggestions and try to get the thing breaking consistently so I can send something over. smile


Dejobaan Games - Bringing you quality video games for over 75 years.

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