View Issue Details

IDProjectCategoryLast Update
0018032Starward RogueBug - OtherDec 22, 2015 1:59 pm
ReporterPepisolo Assigned Tokeith.lamothe  
Status resolvedResolutionno change required 
Product Version0.204 (Mechs!) 
Summary0018032: spawns_offset_from_firing_entity potential weirdness...?
DescriptionI may just have misunderstood something here, but I've been working on a weapon with a very specific pattern and so need to adjust the bullet position relative to the gun itself.

I've been trying to use spawns_offset_from_firing_entity to do this but it seems super awkward. I assumed the firing entity to be the gun itself, but the offset seems to rather be applying to the player entity (the mech). Except when set to 0,0. I assume Arcen points are meant to be co-ordinates, can't be completely sure, though!

If the behaviour is normal, and spawns_offset_from_firing entity is meant be based on the player center then can we have a spawns_offset_from_weapon or something. I've tried using just spawn_offset, but when I use that the pattern is not uniform when I'm turning around and shooting.

My brain hurts and I could quite possibly have just misunderstood things, but it might be worth double-checking to see if everything's working as expected (scratches head).
TagsNo tags attached.

Activities

keith.lamothe

Dec 22, 2015 1:59 pm

administrator   ~0043898

It is supposed to be relative to the entity (ship/mech), not the system (gun). It's used for the official melee weapons, mainly.

A version that's relative to the gun could potentially be added later, but that introduces several additional complexities due to the gun rotating around the entity.

And yes, ArcenPoint is a simple x,y coordinate.

Issue History

Date Modified Username Field Change
Dec 19, 2015 12:38 am Pepisolo New Issue
Dec 21, 2015 3:41 pm Chris_McElligottPark Assigned To => keith.lamothe
Dec 21, 2015 3:41 pm Chris_McElligottPark Status new => assigned
Dec 22, 2015 1:59 pm keith.lamothe Note Added: 0043898
Dec 22, 2015 1:59 pm keith.lamothe Status assigned => resolved
Dec 22, 2015 1:59 pm keith.lamothe Resolution open => no change required