SS3D icon indicating copy to clipboard operation
SS3D copied to clipboard

Light Fixture Interactions are Broken

Open cosmiccoincidence opened this issue 3 years ago • 3 comments

Summary

Seems light fixture on/off interactions have been broken due to recent file changes.

Current Behavior

Can't click lights to turn them on/off anymore. The interaction option doesn't appear when right-clicking either.

Context

Experienced on version 0.3.95e

Original implementation here: https://github.com/RE-SS3D/SS3D/pull/610

cosmiccoincidence avatar Jun 28 '21 16:06 cosmiccoincidence

Part of this issue is that wall colliders have been increased in size, and therefore the Raycast is hitting the wall rather than the light. One way this could be resolved is resizing the wall collider for a closer fit.

Ryan089 avatar Jun 30 '21 01:06 Ryan089

Reducing the size of wall colliders will leave small gaps between the walls where items can glitch into, we had done something like this in the past.

cosmiccoincidence avatar Jun 30 '21 16:06 cosmiccoincidence

The other option is to change the way the interaction system identifies what has been selected, rather than the current RaycastHit. I'm planning to look into this option later to see whether it's feasible, but I'm trying to focus on the 0.3.96 milestone first.

Ryan089 avatar Jul 02 '21 23:07 Ryan089