New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some beds are misplaced #243
Comments
they were, i used the values of bed to center them |
Ah ok. :) Then it seems the error doesn't come from the models. My apologies. :S I'll give a screen shot asap. |
wierd ill upload my .def and you tell me |
i want a second opinion! could someone else besides Bertram confirm the same error? http://forum.freegamedev.net/viewtopic.php?f=45&t=4765&p=60315#p60315 |
This might also be a regression due to the new creature definition format. I'll have a look. :) |
@Danimal696 With the new rolling release out, could you tell me how beds do behave now? Thanks! |
they are still misplaced, |
Thanks! This simple example really helps! :) |
I had seen that in the good way. Previously, creatures used to go at bottom left to sleep. Now, they go at center. I thought it was an improvement but it seems like it is a bug. I don't know when we introduced that (maybe while playing with the renderer ?) but I would say it comes from the beds being centered now. |
Judging from the screenshot, it seems the beds are centered on one tile, independently of the number of tiles that they are supposed to cover. Is it because they are placed on active spots? |
No, dormitory is a special room and active spots were never used there. Beds are on empty tiles. But when I look at the screenshot, I would say they are centered on the bottom left tile (where the creature used to sleep) instead of the center of their place. |
that the creature sleep at his center is good and something i would request on the future, but not in this way... |
What I have seen so far is that creatures getting a bed location are usually taking the most left-bottom one available, while the code is correcting the mesh location as if the tile chosen was forcefully the top-right one. |
The Orc and Lizard beds are placed south of where they should be.
It might comes from two things. The bed has got either a wrong default orientation, or isn't centered on the 2 tiles:
The two beds models should be checked against the Bed.mesh one and get same alignment and default rotation value.Could you do it, @Danimal696 ?EDIT: The models are ok, the bug must be in the code.
The text was updated successfully, but these errors were encountered: