In godot there’s a way to define which component of an object / actor exists in which collision layer - meaning they can be treated differently.
Right now I am using collision spheres to work out if an actor is “snappable” with another one (if 2 collision spheres overlap then you can initiate a dock) - but i don’t want to allow a dock if the bodies (static mesh) overlap.
In Unreal you can define this behaviour using ‘Collision Presets’.
In your Actors blueprint, if you select your collision sphere or static mesh components and scroll down in the ‘details’ window , there is a section called ‘Collison’ within that there is subsection ‘Collision Presets’. It looks like this (settings may vary in your project) :
In here you can see the current collision response for current ‘Object Type’ your component is set to for example in the image above the object type is ‘Pawn’ and it blocks all other object types meaning it has a physical collision and can also trigger ‘OnCollision’ events should these objects collide.
You can modify these response settings directly for custom components/objects by setting ‘Collision Preset’ to be ‘Custom’. However it is usually good practice to create a new collision preset that you can reuse for multiple components/objects for consistent behaviour, if you had a lot of the custom setting versions and a lot of blueprints, It can make it hard to track down collision related issues.
To make a new collision preset navigate to ‘Editor’ > ‘Project Settings’ > ‘Engine’ > ‘Collision’ > ‘Preset’ and then select new, set up your collision preset, in your case you could create a ‘Snappable’ preset, then in the ‘Collision Response’ section assign this preset to allow overlap events with other ‘Snappable’ Objects and have other presets set to ignore ‘Snappable’ Objects, this means a overlap or collision event will not be triggered if a ‘Snappable’ object overlap or collides with any other object type.
Lastly set your collision spheres to use this new ‘Snappable’ preset and this should then create the behaviour your are looking for.