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

Portals do not handle contraptions / complex objects well for teleporting #14

Open
Noname12345GER opened this issue Nov 5, 2016 · 6 comments

Comments

@Noname12345GER
Copy link

If you ram a car with opened doors, it goes into the interior with a 90% chance of crashing the server. Some sort of Filter for that?

@benrob0329
Copy link

It would help if the TARDIS did something similar to the displacement gun mod, where the whole creation is pulled through (as in, welds and things are used to determine what that it)

@MattJeanes
Copy link
Owner

Problem with that is most of the contraption will still be outside the doors if you try and teleport it as soon as soon as part of it touches the portal, and it will end up spazzing out anyway.

@Noname12345GER
Copy link
Author

If constraints then DoorPass false

@MattJeanes MattJeanes transferred this issue from MattJeanes/TARDIS May 10, 2020
@MattJeanes
Copy link
Owner

Transferring issue to world-portals as it is a bug in here

@MattJeanes MattJeanes changed the title Doors will eat objects Portals do not handle contraptions / complex objects well for teleporting May 10, 2020
@LoganDark
Copy link

It might be possible to do something similar to what my portal system (for a different game engine) does. Teleport the entire creation at once only when the very center of it passes through the portal. Fast moving cars and etc. would be just fine. Not sure about sleds and such though, you might have to fake collisions if it's halfway through the portal, which is probably more effort than it's worth.

Teleporting one part at a time is a recipe for disaster unless you do some spoopy constraint overwriting that can somehow represent only half of a creation being on the other side of the portal. I don't know if that's possible in Gmod though...

@MattJeanes
Copy link
Owner

Yeah that's roughly what I was thinking, try and calculate the centre origin for the entire contraption, should work at least better than it does now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants