Which environment? Mirror Official app (Itch/Steam/Epic), open-source docker, or open-source no-docker?
Itch
When I used code
target_object.collision_enabled=true/false
target_object.visible=true/false
(Note: / is OR)
It didn't work in dev mode
I went and used target_object.model_scale it worked in dev, when I published space(link below) changing model scale didn't work.
Also in dev env I noticed ghost collisions for object that has model_scale modified via code and I was unable to tween it, if I did all I seen was state 0 and 1 I mean when wanting object to have scale changed from Vector3(0,0,0) to Vector3(1,1,1) All I could see was object visible or invisible, also I think object scale was tweened properly, although I am not sure on that one.
If I am not mistaken it has been like that since release of adding gdscript scripts to objects...
Additional context
https://in.themirror.space/s/66473a3371ccefbdaae05f66
Which environment? Mirror Official app (Itch/Steam/Epic), open-source docker, or open-source no-docker?
Itch
When I used code
(Note: / is OR)
It didn't work in dev mode
I went and used
target_object.model_scaleit worked in dev, when I published space(link below) changing model scale didn't work.Also in dev env I noticed ghost collisions for object that has model_scale modified via code and I was unable to tween it, if I did all I seen was state 0 and 1 I mean when wanting object to have scale changed from
Vector3(0,0,0)toVector3(1,1,1)All I could see was object visible or invisible, also I think object scale was tweened properly, although I am not sure on that one.If I am not mistaken it has been like that since release of adding gdscript scripts to objects...
Additional context
https://in.themirror.space/s/66473a3371ccefbdaae05f66