Can I keep players from pushing cancollide unanchored parts?

I’m trying to make a space ship that uses vector force to move, so the ship is unanchored, but I also want the game to act like there isn’t any gravity (so the space ship should float unless it is propelled downward by engines). I’m testing using just a platform and I’ve tried using vector force to keep it in the air, which works fine until a player steps on it and it pushes the platform all over the place.

Is there a good way to fix this? I’m fine with anything being able to push the ship EXCEPT for players (so colliding with other ships would send them spinning but someone moving around inside the ship wouldn’t affect anything. I’m pretty new to this kind of thing so maybe there’s something obvious I’m missing (hopefully).

EXTRA info: The reason I’m using vector force is that I want the space ship to move realistically and I feel like vector force is the best option for that, if another option would be better then feel free to suggest something else. (Linear velocity might be better but afaik that would prevent other space ships from colliding with it? as I said I’m pretty new to this)

Make the players weight very low so that it cannot move objects around, or the make the spaceship content heavy, so that it cannot be moved as easily.

I tried increasing the density of the platform but it didn’t seem to fix the problem - is that the wrong thing to do or did I just probably do it wrong?

I am not sure, I think that maybe the density might not have been high enough.

I can try both increasing the density and decreasing player weight, when I did it before I just did the density part so maybe both combined would fix the problem

You can make it in a different collision group, unless you don’t want them to walk through it.

1 Like

I’ve tried making the platform have the highest density it can and making the entire player’s character massless and also removing gravity on them with a vector force but it still moves the platform a bit (but it seems to be only when I sit in a seat anchored to the platform - is this a different problem?)

Yeah this would work, but I want the player to be able to stand on the platform so it wouldn’t be right for this project

https://developer.roblox.com/en-us/api-reference/class/BodyPosition

while true do
	BodyPosition.Position = Vector3.new(0, 0, 0) --BodyPosition's origin.
	BodyPosition.ReachedTarget:Wait()
end
1 Like