I created an IEntity object. Its name is var
Code: Select all
var = gEnv->pEntitySystem->SpawnEntity(blablabla);
// In another function, this is called
var->SetScale(Vec3(2.f, 2.f, 2.f));
But nothing happened. I mean, I can see the UI object but when I trigger the function that runs SetScale, object does not expand. Can somebody tell why?