APS Excellence in Physics Education Award
November 2019
Science SPORE Prize
November 2011
The Open Source Physics Project is supported by NSF DUE-0442581.
|
is _view.trailSet.newSegment(); working for array set?
Return to the EJS Modeling forum
Login to post to this thread
is _view.trailSet.newSegment(); working for array set?
|
lookang
245 Posts
|
dear prof paco,
i managed to get is _view.trail.newSegment(); to work for a single line which is wonderful. thanks!
but array of lines work with the line of code too?
is _view.trailSet.newSegment(); // working for array set?
see my scr for details on the initialize button! i commented out the line to ensure the model runs, enabling it will hang the model
more info can be found here http://weelookang.blogspot.sg/2015/02/ejss-2-cannon-aim-at-each-other.html
Post edited February 10, 2015 at 10:54 AM EST.
Post edited February 10, 2015 at 10:54 AM EST.
Attached File: ejss_src_projectile2cannon.zip
OSP@SG blog
OSP@SG Digital Library
|
|