Can't tween physical properties

Hello, I’m trying to tween the physical properties of a part but it’s erroring

it says TweenService:Create property named 'CustomPhysicalProperties' on object 'Part' is not a data type that can be tweened in the output

it’s coming from this line

TweenService:Create(Part, Tween, {CustomPhysicalProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)}):Play()		

I did see this post but I was wondering that is the only way to do it

You should try making a variable for the tween then playing it on the next line.

1 Like

it still gives the same error

TweenService:Create property named 'CustomPhysicalProperties' on object 'Part' is not a data type that can be tweened

code

local Tween2 = TweenService:Create(Part, Tween, {CustomPhysicalProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)})
Tween2:Play()

Just asking, why don’t you want to use the method in the post you said you’ve viewed? Is it too clunky?