Hi everyone. I'm doing simple work with area node but every time I collide with I get error below :
0:00:08:0232 - Condition ' !is_inside_tree() ' is true. returned: Transform()
Type:Error
Description:
Time: 0:00:08:0232
C Error: Condition ' !is_inside_tree() ' is true. returned: Transform()
C Source: scene\3d\spatial.cpp:268
C Function: Spatial::get_global_transform
It happens when following code is executed
yellow_cube_explosion_instance.global_transform.origin = Vector3(body.global_transform.origin.x,body.global_transform.origin.y + 1.2,body.global_transform.origin.z)
According to error, node is not is in tree at the moment... It is even possible ? Everything in scene is in scene tree how the heck is possible to not be inside tree ?Do someone help me to solve this problem ?
ps. Tried call_deferred, it won't help.
Thanks
-Garrom