View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001087 | Spring engine | General | public | 2008-10-09 21:28 | 2008-10-14 19:56 | ||||
Reporter | TheFatController | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.77b2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001087: Can't get dgun to collide with modified collisionsphere | ||||||||
Description | Pics here http://spring.clan-sy.com/phpbb/viewtopic.php?f=11&t=16374 You used to beable to d-gun the chicken queen in BA Chicken Defense 1.35 as i'd used "CollisionSphereScale = 1.75", this got broke in the new version so i've tried using: collisionVolumeType = "ellipsoid", collisionVolumeOffsets = "0 -45 5", collisionVolumeScales = "65 110 185", (and have tried both collisionVolumeTest settings) However even tho the collision sphere clearly passes through the floor of the terrain dgun doesn't collide (display dps widget & a cob script would pick it up if it did). It does collide if you FPS the com and shoot right at the middle of the queen just not on the floor. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Kloot (developer) 2008-10-10 00:56 |
Looked into this for a bit. When adding collisionVolumeType = "ellipsoid"; collisionVolumeOffsets = "0 -45 5"; collisionVolumeScales = "65 110 185"; to a vanilla BA 6.41's CORKROG.fbi (closest thing to a chicken ;)), dgun projectiles always reliably make contact (for both hittest-types), but when adding those same lines to CA-2994-test's corkrog.lua (and replacing each ';' by a ',' obviously), the hit detection seems highly intermittent. However in both mods the dgun weapon ("{ARM_}DISINTEGRATOR") has the same properties for AOE, velocity and damage (36, 300, and 99999 respectively). Maybe there are some weapondef post-processing differences, not sure yet. |
imbaczek (reporter) 2008-10-10 16:00 |
added a replay for archival purposes |
KDR_11k (reporter) 2008-10-10 20:40 Last edited: 2008-10-10 20:42 |
AOE is calculated with the s3o hitsphere, if the scale of 1.75 was necessary for it to touch the ground that's no surprise. I added a "impactOnly" tag that makes only direct collisions count, there's a small chance that got triggered on the dgun in CA for some reason, does it cause explosions? With the tag it will just spawn the CEG directly but not spawn an actual explosion. |
Kloot (developer) 2008-10-11 01:46 |
Turns out there was some weird optimization that made noExplode projectiles only DoDamage() on odd-numbered frames (now disabled), which meant raytraced hits detected on an even frame were just being ignored. I'm not entirely convinced the coldet is reliable enough in its current state though, can you (TheFatController) verify that hits are now being detected accurately? |
Beherith (reporter) 2008-10-11 04:58 Last edited: 2008-10-11 05:00 |
Hmm, I just noticed this bug while dgunning AKs. Sometimes, especially when the dgun projectile hasnt hit the ground yet, it will just go straight through the unit. (this was in BA) |
TheFatController (reporter) 2008-10-12 17:56 |
Hi just to confirm that hits aren't being detected accuratley (or at all) on the limits of the collision spheres, you can test this with: http://spring.jobjol.nl/show_file.php?id=1526 /cheat /give 1 n_chickenq Check out the sphere and dgun |
TheFatController (reporter) 2008-10-12 18:04 |
Also even hitboxes that go deep into the ground dont work ie: collisionVolumeScales = "65 310 185", |
Kloot (developer) 2008-10-12 18:11 Last edited: 2008-10-12 18:13 |
Works fine in SVN (takes about 20 hits to kill an n_chickenq but I guess that is intentional). Did you test with 77b3 perhaps? |
Kloot (developer) 2008-10-14 19:55 |
I'm assuming SVN is no longer giving you issues, reopen if not. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2008-10-09 21:28 | TheFatController | New Issue | |
2008-10-09 23:10 | tvo | Product Version | 0.76b1+svn => 0.77b2 |
2008-10-10 00:56 | Kloot | Note Added: 0002745 | |
2008-10-10 00:57 | Kloot | Status | new => confirmed |
2008-10-10 16:00 | imbaczek | File Added: dgun-oddness.14mins.middle.sdf | |
2008-10-10 16:00 | imbaczek | Note Added: 0002770 | |
2008-10-10 20:04 | Kloot | Relationship added | related to 0001106 |
2008-10-10 20:04 | Kloot | Status | confirmed => assigned |
2008-10-10 20:04 | Kloot | Assigned To | => Kloot |
2008-10-10 20:40 | KDR_11k | Note Added: 0002780 | |
2008-10-10 20:42 | KDR_11k | Note Edited: 0002780 | |
2008-10-11 01:46 | Kloot | Note Added: 0002785 | |
2008-10-11 01:46 | Kloot | Status | assigned => feedback |
2008-10-11 04:58 | Beherith | Note Added: 0002786 | |
2008-10-11 05:00 | Beherith | Note Edited: 0002786 | |
2008-10-12 01:34 | Kloot | Relationship deleted | related to 0001106 |
2008-10-12 17:56 | TheFatController | Note Added: 0002818 | |
2008-10-12 18:04 | TheFatController | Note Added: 0002819 | |
2008-10-12 18:11 | Kloot | Note Added: 0002820 | |
2008-10-12 18:13 | Kloot | Note Edited: 0002820 | |
2008-10-14 19:55 | Kloot | Status | feedback => resolved |
2008-10-14 19:55 | Kloot | Resolution | open => fixed |
2008-10-14 19:55 | Kloot | Note Added: 0002889 |