Jump to content
Doggifast

Snapping Objects in 3den editor

Recommended Posts

So i saw a cool function of the cargo platforms from Contact DLC, where if you place them close together the game will snap the second cargo platform to the first one making them stay perfectly next to each other, making them perfectly leveled next to each other.
Question is, how do i replicate that? I'm working on a 'Modular Site' mod, where i need it for ease of use while laying out the facility in the 3den editor.

This, basically

Share this post


Link to post
Share on other sites
Just now, Doggifast said:

So i saw a cool function of the cargo platforms from Contact DLC, where if you place them close together the game will snap the second cargo platform to the first one making them stay perfectly next to each other, making them perfectly leveled next to each other.
Question is, how do i replicate that? I'm working on a 'Modular Site' mod, where i need it for ease of use while laying out the facility in the 3den editor.

The russian vehicle-deployable bridges from RHS also have that, by the way

Share this post


Link to post
Share on other sites

Found this in the platforms config. Gonna investigate the function.
 

		class EventHandlers
		{
			dragged3DEN="_this call bin_fnc_CargoPlatform_01_update;";
			registeredToWorld3DEN="_this call bin_fnc_CargoPlatform_01_update;";
			killed="_this spawn bin_fnc_CargoPlatform_01_destruction;";
		};
	};

 

Share this post


Link to post
Share on other sites
6 hours ago, ampersand38 said:

this

 

Wow, very cool! I'm going to play around with this later tonight.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×