A downloadable plugin


A behaviour to child a node without inheriting the parent's attributes.

Ever noticed if you child a one node to another, the parent is referenced instead of the child. The child also assumes all the properties of the parent (such as: rotation, scale, visibility etc.).?...

DESCRIPTION:
 This extension allows the child to retain its own properties and can be referenced independently of the parent.
eg: If the parent is rotated, scaled, hidden etc, the child is not!

INSTRUCTIONS:    
1- Add this behaviour to any node (eg: plane/billboard/camera/mesh).
2- Select "Parent" node from the behaviour's drop-down menu.
3- Offset default is "0,0,0" for convenience but can be adjusted.
4- Set "X_Offset" to adjust the child's relative X-axis position.
5- Set "Y_Offset" to adjust the child's relative Y-axis position.
6- Set "Z_Offset" to adjust the child's relative Z-axis position.
7- The Child is Parented but keeps it's own properties/attributes.

USAGE:
Many uses. This is ideal for making things like tanks, where you'd want the turret to attach to the tank, but need it need it to move independently. Also handy if you need the child to rotate towards another node without being restricted by the parent (like a compass needle, for example) etc. Personally, I made this so I could use Coppercube's first person camera as a 3rd Person, following behind the character but you could use it to attach hands/weapon to a camera or to make moving platforms etc.

Download

Download
CCB_Behaviour_SpecialChild.zip 37 kB

Install instructions

Drag into your "Documents>Coppercube>Extensions>" Folder. Restart Coppercube to automatically install the plugin, select "Behaviour>Scripts>SpecialChild" to add it to your projects.

Comments

Log in with itch.io to leave a comment.

We should help motzerleka together