Hi, I’m trying to create a simple function to tween entities that I pass in to a position that I also pass in. However my code isn’t working and I’m sure its something obvious. I couldn’t find any example of doing this online.
and I call the function like this (in this case to an entity called lower_button_group): this.slide_in_entity(this.lower_button_group,new pc.Vec3(0, 0, 0));
At first glance it looks like there was a missing close parenthesis closing your tween() function before moving on to the .to() portion. Are you getting errors in your console?