Thanks Jeff.
May I ask how can I get the real-time spring force I applied?
I tried <effect>.getMagnitude(). But what I get is a constant I set in addSpringEffect.
<device>.addSpringEffect( gain=None
,magnitude=None
,position=None
,referenceFrame=None )
Position here represents the effect position, right?
And what is the relationship between magnitude and spring force? In F = k(P-X), magnitude is the max spring force?
|