Skyline Editor related tips n tricks!

Parenting

Parenting

Postby epsilonion » 12 Mar 2015, 13:20

Is there a way to parent one object to another so that you can move them together and they react to eachother in there local space?
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Parenting

Postby ant0N » 12 Mar 2015, 13:45

this can be done via script:
Code: Select all
entity.attach(parentID, childID);


Or
Image
Sorry for my English. :)
User avatar
ant0N
Skyline Moderator
Skyline Moderator
 
Posts: 415
Joined: 02 Nov 2012, 12:49
Location: Россия, Москва
Skill: Programmer
Skill: 3D Modeller

Re: Parenting

Postby SolarPortal » 12 Mar 2015, 13:56

yes, thats correct. Thanks antON :)

We have plans on smoothing this process out using the scene entity list and parenting simply by dragging under a parent. But it will take a while still to get there.
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Parenting

Postby epsilonion » 12 Mar 2015, 13:59

SolarPortal wrote:yes, thats correct. Thanks antON :)

We have plans on smoothing this process out using the scene entity list and parenting simply by dragging under a parent.


Ah thats exactly what I was looking for..

Thanks antON and SP
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative


Return to Skyline Editor

Who is online

Users browsing this forum: No registered users and 4 guests

cron