Weld Attach

Description

The Weld Attach behavior will attach two selected objects together with a weld. Think of this as gluing two separate objects together. Each object is still separate, but they are joined together by the weld.

Note that the weld is not unbreakable. If a strong enough force is applied to either object they may break apart.

This behavior will trigger an event immediately. 

 

Properties

Triggers Immediately

Object A

This is the first object you want to attach. By default this is the current object selected. You can change this to any other object in your scene.

Object B

This is another object in your scene, it will be attached to Object A by a weld.

Attach Point

This is the specific X and Y location on each object where the attachment will be. Eg, the hand. on your character. 

You can enter the numbers manually, or visually by moving the blue target when selecting Object A or B from the behavior properties.

Attachments Collide

This toggle specifies where or not the two attached objects can collide with the spring. This means the spring itself can potentially stop your objects from moving.

 

Outputs

Object A ID

This outputs the Object ID of Object A.

Object B ID

This outputs the Object ID of Object B.

 

Examples 

You can use weld to make two separate objects into one. If you have a player character you can weld a picture of your head on top of that existing object to make it look like you. Now your head graphic will move and be part of the existing player object.

 

Related

Detach Object

Pivot Attach

Rope Attach

Spring Attach

 

WeldAttachReference.gif

0 Comments

Article is closed for comments.