Skip to content

Commit

Permalink
Adding features to body and vectornode
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinVallejo committed Mar 12, 2023
1 parent 216e680 commit 6c3907e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/common/view/MySolarSystemScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ export default class MySolarSystemScreenView extends SolarSystemCommonScreenView
const velocityVectorSynchronizer = new ViewSynchronizer( this.componentsLayer, this.createDraggableVectorNode );

const forceVectorSynchronizer = new ViewSynchronizer( this.componentsLayer, ( body: Body ) =>
new VectorNode( body, this.modelViewTransformProperty, model.gravityVisibleProperty, body.forceProperty, 0.05, {
fill: PhetColorScheme.GRAVITATIONAL_FORCE
new VectorNode( body, this.modelViewTransformProperty, model.gravityVisibleProperty, body.forceProperty, 1, {
fill: PhetColorScheme.GRAVITATIONAL_FORCE,
constrainSize: true
} )
);

Expand Down

0 comments on commit 6c3907e

Please sign in to comment.