How do you Enable CustomPhysicalProperties with a script i already tried:
CustomPhysicalProperties = true
But it doesn’t work. How do I do this in a simple but efficient way
local cpp = script.Parent.CustomPhysicalProperties
ccp = true
local p = script.Parent.CustomPhysicalProperties.Density ---- Objects density
To bring this back to life, this doesn’t seem to be working, once in game if you check the properties of the part, CustomPhysicalProperties is still unticked. Not to sure what is happening. You might have to enable it everywhere first? NVM, it is just you need to use all the properties, I am a idiot… NVM again, it simply does not show up whatever I do
I don’t know if it’s important anymore but I found a solution that works for me.
local part = script.Parent --Change to whatever part it is you're trying to change.
local density = 0.7 --Change
local elasticity = 0.5 --Change
local elasticityWeight = 1 --Change
local friction = 1 --Change
local frictionWeight = 3 --Change
part.CustomPhysicalProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
Hopefully this helps somebody even though this topic is older than 2 years.
Here’s a link to my topic.