Hi everyone! The player can move the car, what do I need to do to remove this ability? I heard something about mass, but I don’t know how to increase it, please help
You may refer to the Roblox Documentation on adjusting the “Density” of parts, linked below.
The property of “CustomPhysicalProperties” can be found within any MeshPart or Part within the Properties Window, this property can also be adjusted via scripts.
This needs to be added to each part? I tried to add this to every detail in the car, even to the wheels, but I didn’t succeed
- You can multiselect all parts by Shift+click and Ctrl+click.
- Check the ‘Mass’ property, it says how much mass the part has.
- Maybe it’s a bug, try disabling CanCollide on parts the character can push.
how can the mass be changed?
if you select all the elements, then there is no mass
I meant to select individual elements and check how mass the parts have.
The value ‘CustomPhysicalProperties’ (‘Density’) changes the ‘Mass’ value automatically.
Okay, I understand your. Do me need to apply density to all parts of the car?
well,
- there’s also a property called ‘AssemblyMass’.
- Yes, you have to apply density to all car parts.
- AssemblyMass gets all the mass of the parts and its welded parts.
Then it’s prob a bug related to character system, since that’s a lot.
Try making the parts that the character can push CanCollide off?
(or it happens when you push the sides of the car?)
It’s probably a bug on roblox character’s side.
What if you use Controllers?
I checked the density on the regular part and everything worked out for me, but for some reason not on the car
Yeah, I saw similar result in the video.
As I said, there’s ‘Controller’ instances: ControllerManager
, SwimController
, GroundController
, AirController
, ClimbController
, that if setup correctly, you can modify default character and change the MaxForce. You might search those on the Roblox Documentation.
Note: you need to disable value ‘EvaluateStateMachine’ for them to work, and i think some scripting.
I think I got it, but how do I create it?
Ah, didn’t notice it was still on beta then it’s probably not released.
I haven’t found it on the ‘beta features’ menu , then I don’t know why it doesnt appear on searching
.
Thank you for your help. I will mark your answer as a solution, as it may help in the future, have a nice day
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.