How to place a cube without hanging on the sides of the foundations?

I want to put a cube on the foundations with all horizontal zoops and all vertical zoop To do this I use the FGBuildable Foundation Lightweight and I modified its Halo so that it works in all 6 directions The problem is that it snaps to the sides of the foundations too There are also Ramps and Roof but they are based on Holo_Foundation too - What are the parameters to modify to prevent snapping to the sides of the foundations? - If it is not possible, what are the modifications to make to the Holo_Foundation in C++?
11 Replies
Rex
Rex4w ago
Snapping stuff sounds like holograms. If anything you may need to implement your own hologram class in C++
Jean Michel
Jean MichelOP4w ago
Thanks but I don't know what I need to change in the base hologram to prevent the snap on the sides of the foundations (I corrected my mistake in the description)
D4rk
D4rk4w ago
Foundations have options to disable snapping on each side
No description
D4rk
D4rk4w ago
This is in the builder, not the hologram
Rex
Rex4w ago
Ah, interesting
Jean Michel
Jean MichelOP4w ago
No, the only result of checking these boxes is that my cube no longer clings to the others But continues to allow itself to cling to the sides of the foundations (in yellow)
No description
D4rk
D4rk4w ago
That is going to require custom hologram snapping code
Jean Michel
Jean MichelOP4w ago
Yes but I don't know what I need to change in the base hologram
Rex
Rex4w ago
:thistbh:
D4rk
D4rk4w ago
Is there a good reason why your part has to be a foundation? If you make it a FGBuildableFactoryBuilding and use FGGenericBuildableHologram, you can disable mCanSnapToFoundationSide. There are a lot more snapping options in that hologram class.
No description
Jean Michel
Jean MichelOP4w ago
I need all horizontal zoops and all vertical zoops
Want results from more Discord servers?
Add your server