extension-spine icon indicating copy to clipboard operation
extension-spine copied to clipboard

Problem setting the parent of a collection factory created object to a spine bone (DEF-3256)

Open britzl opened this issue 6 years ago • 1 comments

Description: A factory created collection contains two game objects A and B Game object A has a spine model and a script Game object B has a sprite Game object B is set as a child of A in the init() function B is no longer visible and printing go.set_position() results in vmath.vector3(nan, nan, nan)

Delaying the set_parent operation until after init() works.

Steps to reproduce: Refer to attached sample project

Expected result: It should be possible to parent collection factory created game objects in the init() function of a script on one of the game objects

Actual result: It is not possible to parent collection factory created game objects in the init() function of a script on one of the game objects

britzl avatar May 23 '19 10:05 britzl

Is this about spine or is this an issue in general? 🤔

JCash avatar Mar 14 '22 15:03 JCash