Hello everyone! I’m new to RAIN AI, and I understand just a few thing about scripting. I Tryed to change a Entity Rig state via another script on the player character as you wanted to, but I cant use your code to do it, since it give me an error “EntityRig Could not be found”.
My character tree is like this:
Player> Entity> Entity Rig script
So I wrote:
EntityRig tRig = Entity.GetComponentInChildren<EntityRig>();
tRig.Entity.IsActive = false;
Later, I changed it to “EntityRig tRig = this.GetComponentInChildren<EntityRig>();
tRig.Entity.IsActive = false;
But It couldnt find out neither.
Any suggestion?