I’m currently working on a game that allows players to access two distinct “realities”, each going to contain their own physics objects that can only be interacted with when in said “reality”. The important thing though: I want you to still be able to see the other reality, as well as the players inside it, just transparently, so making it two seperate places doesn’t cut it. I am fairly adept at scripting, so I’m in no way asking for this to be scripted for me, but I am curious as to how to make certain players able to touch and interact with certain physics objects (say, an unanchored box), and others only able to touch the other reality’s objects. I can make it non-collidable on a local-script, but the serverside code still seem to be making the player move the object. What would I need to go about to solve this?
I would make two Models containing the realities, and then in a Local Script, make the transparency of all parts to 0. And I would make it so both realities are CanCollide = false in the server, but when the player goes to the reality, in the local script it says collisions to true.
Well this would’ve worked fine, and I can’t believe I didn’t think of it myself, but upon trying to implement it I realized CanCollide wasn’t what I was looking for, as I wanted the objects to be movable. I then tried to implement it with Collision Groups, and that worked great, except for the fact that the object that’s supposed to be moved is not stuck, even though it isn’t anchored… I’m a little bad with this physics stuff ahah
Maybe implement a system that memorizes which parts are movable or not? Then when the player enters the reality it sets it to that.