Uh? what you mean 2 buildings on top of eachother? Oh ok, no prob i guess one of the other staff member can look into it. It’s not too hard to make it happen.
Do you have two entities that have building modules in exactly the same position?
No each building has his own position.it’s not a big deal for me since removing the lightmapping can make it work, but since you want to dig this problem i keep it up for some time.
Can the building be copied to a new project and shows the exact same problem?
To replicate the issue i would have to write a code where the building translate and rotate
How do you move in game? It’s taking ages to walk anywhere
I’m in 5 Seals and can’t replicate the issue:
Click on the position where you want to walk from pc you keep pressed the ctrl key to run
if (this.build[i].Inn===true) {
**this.app.root.findByName('Inn').rigidbody.teleport(this.build[i].x,this.build[i].y,this.build[i].z,0,this.build[i].r,0);**
if (this.build[i].r===0) {
this.app.root.findByName('InnKeeper').rigidbody.teleport(this.build[i].x+1,this.build[i].y,this.build[i].z-5,0,this.build[i].r+90,0);
} else if (this.build[i].r===90) {
this.app.root.findByName('InnKeeper').rigidbody.teleport(this.build[i].x-4.5,this.build[i].y,this.build[i].z-1.2,0,this.build[i].r+90,0);
} else if (this.build[i].r===-90) {
this.app.root.findByName('InnKeeper').rigidbody.teleport(this.build[i].x+4.5,this.build[i].y,this.build[i].z+1.2,0,this.build[i].r+90,0);
} else if (this.build[i].r===180) {
this.app.root.findByName('InnKeeper').rigidbody.teleport(this.build[i].x-1,this.build[i].y,this.build[i].z+5,0,this.build[i].r+90,0);
}
}
this is the code for replacing the building when changing village
the line with two ** is the one that move the building the others are just to replace the owner’s model in the right position
I can’t reproduce the same issue that you have posted above (see video). Is it possible to make a fork/separate project where it’s easier to reproduce the issue?
Neither 5 seals or the test project you’ve created show this issue for me.
Sorry not able to replicate the issue, i tried in the test project to add a teleport function but that don’t seem to be the problem, i guess the 5 seals is too big to track down what the problem is. As soon as i added again the lightmap to the Inn the problem show again. It could be due to tens of invisible models or the terrain creation but don’t know how to help to find the error.
If you can have a fork of 5 seals in a state where it’s broken, that will help.
You can fork it now if you want
I’ve forked it and I still can’t reproduce the issue. Please provide an project where the issue is easily reproducible.