Skip to content
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

Jumpdrive does not always move entities #91

Open
S-S-X opened this issue Feb 27, 2021 · 3 comments
Open

Jumpdrive does not always move entities #91

S-S-X opened this issue Feb 27, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@S-S-X
Copy link
Member

S-S-X commented Feb 27, 2021

By that I mean it does not always move entities that do have compatibility code for moving and that also works most of time.

So far I've only noticed this happening when far from entities that fail to move, for example if jumping away with first engine of fleet and entities happen to be in other section of fleet ship.

Also noticed that nodetimer problem described in #89 can be completely mitigated by doing what seems to cause this bug 🤣

@S-S-X S-S-X added the bug Something isn't working label Feb 27, 2021
@BuckarooBanzay
Copy link
Member

😲 🤦

.. this actually makes sense: objects don't get moved because they aren't active anymore
and don't pop up when calling minetest.get_objects_in_area for that area.
And i guess minetest.get_nodetimer has the same issues somehow.

A solution for both problems (if thats the cause) would be to temporary forceload the area when moving, but this makes things a lot more complex than they are already 🤔

@BuckarooBanzay
Copy link
Member

@OgelGames
Copy link
Contributor

Hmm... doesn't get_objects_inside_radius use a sphere radius?

local all_objects = minetest.get_objects_inside_radius(source_center, 20);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants