File tree Expand file tree Collapse file tree
src/framework/components/rigid-body Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,7 +170,10 @@ class RigidBodyComponent extends Component {
170170 /** @private */
171171 _simulationEnabled = false ;
172172
173- /** @private */
173+ /**
174+ * @type {BODYTYPE_DYNAMIC|BODYTYPE_KINEMATIC|BODYTYPE_STATIC }
175+ * @private
176+ */
174177 _type = BODYTYPE_STATIC ;
175178
176179 /** @ignore */
@@ -546,7 +549,7 @@ class RigidBodyComponent extends Component {
546549 *
547550 * Defaults to {@link BODYTYPE_STATIC}.
548551 *
549- * @type {string }
552+ * @type {BODYTYPE_DYNAMIC|BODYTYPE_KINEMATIC|BODYTYPE_STATIC }
550553 */
551554 set type ( type ) {
552555 if ( this . _type !== type ) {
@@ -579,7 +582,7 @@ class RigidBodyComponent extends Component {
579582 /**
580583 * Gets the rigid body type determines how the body is simulated.
581584 *
582- * @type {string }
585+ * @type {BODYTYPE_DYNAMIC|BODYTYPE_KINEMATIC|BODYTYPE_STATIC }
583586 */
584587 get type ( ) {
585588 return this . _type ;
You can’t perform that action at this time.
0 commit comments