I scripted boat, it sets density to 0.2 and when I view, it says 0.1, when i change manually it works. How to fix this?
3 Likes
Can you please post the script so we can see what the issue is? Thank you! ![]()
1 Like
Base.CustomPhysicalProperties.Density = 0.2
Try this out:
script.Parent.CustomPhysicalProperties=PhysicalProperties.new(density,friction,elasity)
So for you it would be
script.Parent.CustomPhysicalProperties=PhysicalProperties.new(0.2,0.3,0.5)
The 0.3 and the 0.5 are the default values of a part. Hope this helps you!
5 Likes