View Issue Details

IDProjectCategoryView StatusLast Update
0005144Spring engineGeneralpublic2016-03-07 13:53
Reporterjamerlan Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version101.0 
Summary0005144: hitsphere of closed unit
DescriptionBullets are flying through hitsphere and not hitting this closed viper https://youtu.be/PKYlhL_bQ3o?t=1m8s
the same for laser weapons

I guess I can set the center of the unit lower.. but still this is not a very good solution/work around
Additional InformationBA 9.35 + spring 101
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2016-03-07 00:26

developer   ~0015994

Last edited: 2016-03-07 00:26

the engine atm does not like units that use piece collision volumes in one state, but not in another (open vs closed corvipe).

jamerlan

2016-03-07 13:34

reporter   ~0015997

Kloot, what do you mean by "not in another"?

Unit is using usepiececollisionvolumes = 1
http://imolarpg.dyndns.org/trac/balatest/browser/trunk/units/corvipe.lua#L34

and we have a configuration for pieces: http://imolarpg.dyndns.org/trac/balatest/browser/trunk/luarules/configs/collisionvolumes.lua#L208

so it's still uses "piececollisionvolumes" in closed state. Just for 1 piece:
http://imolarpg.dyndns.org/trac/balatest/browser/trunk/luarules/gadgets/unit_dynamic_collision_volume.lua#L106

Kloot

2016-03-07 13:53

developer   ~0015999

I know, my explanation was simplified.

For corvipe, the custom configuration in the closed state is too different from its "true" closed state and causes an optimization test to always fail.

A fix is possible but will take some work.

Issue History

Date Modified Username Field Change
2016-03-06 23:06 jamerlan New Issue
2016-03-07 00:26 Kloot Note Added: 0015994
2016-03-07 00:26 Kloot Note Edited: 0015994
2016-03-07 13:34 jamerlan Note Added: 0015997
2016-03-07 13:53 Kloot Note Added: 0015999