Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

does EJS5.0 allow drawing objects to move on drag? post and replies

Return to the does EJS5.0 allow drawing objects to move on drag? thread
Login to post to this thread

does EJS5.0 allow drawing objects to move on drag? - Aug 17 at 10:21PM
lookang Avatar
lookang
107 Posts

dear prof, does EJS5.0 allow drawing objects to move on drag?

i tried to use it like is EJS but the EJSS object cannot move yet.

i am wondering is it a feature to be add or has already been added like http://www.compadre.org/osp/items/detail.cfm?ID=13319&S=2

for example, i see you have already made for EJSS _view.drawingPanel.getInteraction().getInteractionPoint();

 

Post edited August 17, 2014 at 10:22 PM EST.

Post edited August 17, 2014 at 10:23 PM EST.

Post edited August 17, 2014 at 10:23 PM EST.

Attached File: 2014-08-18_1020.png


http://weelookang.blogspot.sg

Replies to does EJS5.0 allow drawing objects to move on drag?

Re: does EJS5.0 allow drawing objects to move on drag? - Aug 18 6:25AM
Francisco Esquembre
130 Posts

Hi,

You need to Enable the panel first. Then, enable the drawable.

Mouse gestures are cpu consuming in JS. Hence, we disable them by default.

Paco



The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics