Trying to run through an example provided for ForceSimulation
mySimulation.kinetics.position.asArray() is impossible to call, due to position (and, possibly, some other useful params) are
"inaccessible due to 'package' protection level"
Am i doing something wrong?
P.S. for mySimulation in 0..<120 should be for _ in 0..<120
Trying to run through an example provided for ForceSimulation
mySimulation.kinetics.position.asArray()is impossible to call, due toposition(and, possibly, some other useful params) are"inaccessible due to 'package' protection level"
Am i doing something wrong?
P.S.
for mySimulation in 0..<120should befor _ in 0..<120