Hi everyone! I need help. I want to make an object and follow the character it. But it will doesn't turn on around the character. I was add an object and I connected the character but result is fail. In short, how can i make an auxiliary character like Rayman? Thanks in advance for your answers.
You can link the second character to the first and it will follow. You won't get the same look as the video though. Also you can't drag 2 characters in the scene so the second character would need to imported as either an object or an action depending on what you want it to do.
It's not a character. I just want to make a moving object that follows the character. This object will perform different animations in some actions.
Gatekeeper logic piece clones the character and you can use that to follow the character but it will have the same properties, but a moving object to follow a character, you can link the character to the moving object by (activating connection mode).
_characters = this.scene().find('the Entity you want to follow'); _ent = _characters[0]; //gets the 1st object of the entity array; _pos = _ent.position(); //gets 1st objects position on grid; Now set the object's position to the object above; this.entity().setPosition(_pos.x, _pos.y, _pos.z); //This will put the object right on top of the object. this.entity().setPosition(_pos.x-50, _pos.y-50, _pos.z-50); //Just subtract the distance from the main object to set it behind
As I said, Buildbox 2 is incapable of adding scripts. It was never designed for it and they would need to start buildbox 2 from the very start to add it as a feature