Skip to content

Commit 0ade439

Browse files
authored
Add extra descriptions for some 3D physics properties (#7980)
1 parent a67506b commit 0ade439

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Extensions/Physics3DBehavior/JsExtension.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,11 @@ module.exports = {
509509
)
510510
.setType('Number')
511511
.setLabel(_('Linear Damping'))
512+
.setDescription(
513+
_(
514+
"Linear damping reduces an object's movement speed over time, making its motion slow down smoothly."
515+
)
516+
)
512517
.setGroup(_('Movement'));
513518

514519
behaviorProperties
@@ -521,6 +526,11 @@ module.exports = {
521526
)
522527
.setType('Number')
523528
.setLabel(_('Angular Damping'))
529+
.setDescription(
530+
_(
531+
"Angular damping reduces an object's rotational speed over time, making its spins slow down smoothly."
532+
)
533+
)
524534
.setQuickCustomizationVisibility(gd.QuickCustomization.Hidden)
525535
.setGroup(_('Movement'));
526536
behaviorProperties
@@ -533,6 +543,12 @@ module.exports = {
533543
)
534544
.setType('Number')
535545
.setLabel('Gravity Scale')
546+
.setDescription(
547+
_(
548+
"Gravity Scale multiplies the world's gravity for a specific body, making it experience stronger or weaker gravitational force than normal."
549+
)
550+
)
551+
536552
.setQuickCustomizationVisibility(gd.QuickCustomization.Hidden)
537553
.setGroup(_('Gravity'))
538554
.setAdvanced(true);

0 commit comments

Comments
 (0)