Gamestudio Links
Zorro Links
Newest Posts
Capital slider is not saving in Z12
by frutza. 09/17/26 13:36
Avoiding pop-up training parameter results
by Martin_HH. 09/16/26 21:31
What are you working on?
by rayp. 09/16/26 20:20
Future of ZorroHFT
by TipmyPip. 09/16/26 09:28
Fun Arcade Car Physics (nfs style)
by rayp. 09/16/26 05:23
How to Choose a Free Cataract Surgery Centre in Delhi?
by lokkalyansamiti. 09/15/26 08:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,592 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lokkalyansamiti, rahulbuilds, speedx, liop, Bauer097
19235 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: 938
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 938
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: 28,133
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,133
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 | 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