Search Issue Tracker
Fixed in 4.3.X
Votes
0
Found in
4.3.0b3
Issue ID
565314
Regression
No
SpringJoint2D sets 'frequency' to 0 and 'dampingRatio' to 1 when changing values via script
SpringJoint2D sets 'frequency' to 0 and 'dampingRatio' to 1 when changing values via script. For example in my script included in this folder, I try to set 'frequency' to 2 and 'dampingRatio' to 0.1 but the values which actually appear are 'frequency = 0' and 'dampingRatio = 1'.
1 Create new project
2 Drag scene "Spring2D_Bug" and script "SpringCheckr" to project (from attached folder)
3 Open scene "Spring2D_Bug", select Main camera in Hierarchy and attach script "SpringCheckr" to it
4 Press play and select Cube (that has Spring Joint 2D element) - notice that 'frequency = 0' and 'dampingRatio = 1' but should be 'frequency'=2 and 'dampingRatio'=0.1 according to script "SpringCheckr"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment