I’m working on cars, and I want players to be able to collide with the car (so that they can jump on it/stand on it, etc), but I don’t know how to make it so that they’re not able to push or exert any force on it from their character, so that people can’t push around empty cars. How do I accomplish this without the car breaking itself? Whenever I try to change the density/friction of parts in the car it either:
Looks wrong (suspension will be lower due to the higher weight)
Flings away due to messing with the weight
Anchoring will NOT work. I still need physics to be able to act on the car, so that if a player hopped out of a car in mid-air, the car wouldn’t just float due to it anchoring.
Jailbreak does this well, I tested this earlier. Don’t know how they do it though.
It’s not that simple. I forgot to mention something, I need physics to still be able to act on the car. If you just anchor it, then when a player hops out of a car in midair, the car would anchor in midair and then float, which doesn’t make any sense.
… That’s not what I meant, and that doesn’t make sense. It’s so that if someone was to drive off a high place and jump out, the car would fall to the ground and not get anchored in mid-air. You can’t just “put a car on the ground”
What is so hard to understand about it? I’ve explained it multiple times already, it’s not that hard to grasp what I’m trying to say. If someone drives off something and jumps out of a car in mid-air, the car should fall to the ground. It doesn’t matter how high it is, it just has to fall to the ground. Which is why anchoring wouldn’t work, because the car would get stuck in midair if you anchored it
It’s not that simple. I’ve said this how many times now. If someone jumped out of the car in mid-air, the if condition would still register as true, and still anchor in mid-air. This literally doesn’t add any help at all
You could only anchor the car if nobody is driving it and if it’s velocity is 0.
This way it will still act normally as you want it, but when it comes to a rest then it’s anchored and can’t be moved by players. When someone climbs in to drive it then you can unanchor it again.