Discuss coding questions, pull requests, and implementation details.
pango
Posts: 3347 Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:
Post
by pango » Sat Feb 29, 2020 6:56 pm
While trying to understand why spell missiles can be stopped by a mere arrow, I noticed that:
objects on the SpellMissiles layer do not collide with one another (good);
arrows are on this layer;
the spell missiles I sent are not, they're on the Default layer for some reason:
Spell Missile layer.jpg (99.8 KiB) Viewed 1429 times
That looks like a bug, the prefabs are on the SpellMissiles layer, but instantiating doesn't preserve that info...
Edit: the cloned Magic Missile seems on the right layer, the attached DaggerfallBillboard is not, mmmh
Mastodon:
@pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
pango
Posts: 3347 Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:
Post
by pango » Sat Feb 29, 2020 8:17 pm
Okay, both spell missiles billboards and arrow models didn't inherit the layer from their parent.
I submitted a
PR
Mastodon:
@pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
Hazelnut
Posts: 3015 Joined: Sat Aug 26, 2017 2:46 pm
Contact:
Post
by Hazelnut » Sat Feb 29, 2020 8:55 pm
Nice work!
Baler
Posts: 225 Joined: Thu May 23, 2019 1:39 am
Location: Earth
Post
by Baler » Sat Feb 29, 2020 9:37 pm
From a visual standpoint this fix is a big deal! Thank You!!
pango
Posts: 3347 Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:
Post
by pango » Sun Mar 01, 2020 12:18 am
I was mostly concerned by gameplay effects; It's hard to justify an arrow and a spell simply annihilating each other (or even 2 spells for that matter)...
It means you could protect against powerful spells with just a bow and some arrows (and good reflexes).
Mastodon:
@pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart