Area effect spells don't check for obstacles

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
Post Reply
User avatar
numidium3rd
Posts: 187
Joined: Sun Mar 25, 2018 12:34 am
Location: United States

Area effect spells don't check for obstacles

Post by numidium3rd »

I don't know if this is intended behavior or not but area effect spells can go through anything. The Unity code used for this is Physics.OverlapSphere which checks for anything inside or touching the edges of a specified sphere. It doesn't do any raycasting against colliders by itself.
I've been working on a mod that uses a combination of OverlapSphere and Raycast to do splash damage so I already have some experience here. It would be a fairly simple addition if we want to go that route.

Post Reply