Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I change CustomPhysicalProperties in a part?

I've tried before, and it didn't work.

script.Parent.CustomPhysicalProperties.Friction = 0

I need help on how to do this properly. Output:

09:28:10.841 - PhysicalProperties.Friction cannot be assigned to

1 answer

✓ Accepted answer

###You assign PhysicalProperties with the constructor PhysicalProperties.new().

script.Parent.CustomPhysicalProperties = PhysicalProperties.new(
    1, 
    1, 
    1
)

###Learn more here

This discussion is preserved as it was. New answers, comments, and votes are closed.