Page 1 of 1

Body template.

Posted: Sun Aug 16, 2015 11:26 am
by superGuy
Hi there,
I'm making complex 2d physics game and I wonder about to define a physics body template. I'm asking something similar to prefab in Unity3D, you define a gameobject and you use it whenever you want, just create once and then clone and use it.
Is there something similar in Rube?
In my game i have some kind of obstacles with complex shapes, and i need to generate them during the game, so i want to do it from rube editor , define once and then clone them during the game.
Thanks.

Re: Body template.

Posted: Sun Aug 16, 2015 11:38 am
by iforce2d
I think typically you would set each complex object up as a separate .rube scene, and merge it into the existing world. There has been a LOT of discussion about this on the forums, this might be a good starting point: viewtopic.php?f=6&t=390