hi, I know, I am already too old for posting feature requests. I was just thinking that I miss the ability to damp the speed of masses in msd. right now I am using something like mass mass1 1 100 0 0 mass mass2 1 100 1 0 link l mass1 mass2 10 10 0 0.01 0 link l 1 I want that the masses reject each other within a certain range and then just reduce speed and stop if the speed is lower than a certain threshold. probably I should try to implement this myself. but maybe I am only missing something. thanks, marius.
Hallo, marius schebella hat gesagt: // marius schebella wrote:
I know, I am already too old for posting feature requests. I was just thinking that I miss the ability to damp the speed of masses in msd. right now I am using something like mass mass1 1 100 0 0 mass mass2 1 100 1 0 link l mass1 mass2 10 10 0 0.01 0 link l 1 I want that the masses reject each other within a certain range and then just reduce speed and stop if the speed is lower than a certain threshold. probably I should try to implement this myself. but maybe I am only missing something.
Are you looking for some kind of "air resistance" damping? I normally use an "nlink" or "tlink" to add a global damping to masses.
Frank Barknecht _ ______footils.org__
Frank Barknecht wrote:
Hallo, marius schebella hat gesagt: // marius schebella wrote:
I know, I am already too old for posting feature requests. I was just thinking that I miss the ability to damp the speed of masses in msd. right now I am using something like mass mass1 1 100 0 0 mass mass2 1 100 1 0 link l mass1 mass2 10 10 0 0.01 0 link l 1 I want that the masses reject each other within a certain range and then just reduce speed and stop if the speed is lower than a certain threshold. probably I should try to implement this myself. but maybe I am only missing something.
Are you looking for some kind of "air resistance" damping? I normally use an "nlink" or "tlink" to add a global damping to masses.
I am not quite sure how nlinks and tlink work. tLink seems to work with a vector that is not related to the current link vector but to absolute x/y, maybe nLink is what I need? but nlinks do not work for me at all, or are they no real links or is this a bug? tLink with a vector 1/1 seems to be the same as the plain link message. correct? and there seems to be no difference between a tLink 1/1 and a tLink 2/2?
I tried to use tLink to get global damping, but I am not sure how to do this (attached patch..) marius.
Here is the corrected version, you have to use two tLinks : one aginst x and one against y. n
marius schebella a écrit :
Frank Barknecht wrote:
Hallo, marius schebella hat gesagt: // marius schebella wrote:
I know, I am already too old for posting feature requests. I was just thinking that I miss the ability to damp the speed of masses in msd. right now I am using something like mass mass1 1 100 0 0 mass mass2 1 100 1 0 link l mass1 mass2 10 10 0 0.01 0 link l 1 I want that the masses reject each other within a certain range and then just reduce speed and stop if the speed is lower than a certain threshold. probably I should try to implement this myself. but maybe I am only missing something.
Are you looking for some kind of "air resistance" damping? I normally use an "nlink" or "tlink" to add a global damping to masses.
I am not quite sure how nlinks and tlink work. tLink seems to work with a vector that is not related to the current link vector but to absolute x/y, maybe nLink is what I need? but nlinks do not work for me at all, or are they no real links or is this a bug? tLink with a vector 1/1 seems to be the same as the plain link message. correct? and there seems to be no difference between a tLink 1/1 and a tLink 2/2?
I tried to use tLink to get global damping, but I am not sure how to do this (attached patch..) marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
thank you, nicolas, that's perfect! did you have a look at nLink? I think it is not working. (os x). marius.
Nicolas Montgermont wrote:
Here is the corrected version, you have to use two tLinks : one aginst x and one against y. n
marius schebella a écrit :
Frank Barknecht wrote:
Hallo, marius schebella hat gesagt: // marius schebella wrote:
I know, I am already too old for posting feature requests. I was just thinking that I miss the ability to damp the speed of masses in msd. right now I am using something like mass mass1 1 100 0 0 mass mass2 1 100 1 0 link l mass1 mass2 10 10 0 0.01 0 link l 1 I want that the masses reject each other within a certain range and then just reduce speed and stop if the speed is lower than a certain threshold. probably I should try to implement this myself. but maybe I am only missing something.
Are you looking for some kind of "air resistance" damping? I normally use an "nlink" or "tlink" to add a global damping to masses.
I am not quite sure how nlinks and tlink work. tLink seems to work with a vector that is not related to the current link vector but to absolute x/y, maybe nLink is what I need? but nlinks do not work for me at all, or are they no real links or is this a bug? tLink with a vector 1/1 seems to be the same as the plain link message. correct? and there seems to be no difference between a tLink 1/1 and a tLink 2/2?
I tried to use tLink to get global damping, but I am not sure how to do this (attached patch..) marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
nLink is deprecated for 3 years now... I've just removed it from the help files. n
marius schebella a écrit :
thank you, nicolas, that's perfect! did you have a look at nLink? I think it is not working. (os x). marius.
Nicolas Montgermont wrote:
Here is the corrected version, you have to use two tLinks : one aginst x and one against y. n
marius schebella a écrit :
Frank Barknecht wrote:
Hallo, marius schebella hat gesagt: // marius schebella wrote:
I know, I am already too old for posting feature requests. I was just thinking that I miss the ability to damp the speed of masses in msd. right now I am using something like mass mass1 1 100 0 0 mass mass2 1 100 1 0 link l mass1 mass2 10 10 0 0.01 0 link l 1 I want that the masses reject each other within a certain range and then just reduce speed and stop if the speed is lower than a certain threshold. probably I should try to implement this myself. but maybe I am only missing something.
Are you looking for some kind of "air resistance" damping? I normally use an "nlink" or "tlink" to add a global damping to masses.
I am not quite sure how nlinks and tlink work. tLink seems to work with a vector that is not related to the current link vector but to absolute x/y, maybe nLink is what I need? but nlinks do not work for me at all, or are they no real links or is this a bug? tLink with a vector 1/1 seems to be the same as the plain link message. correct? and there seems to be no difference between a tLink 1/1 and a tLink 2/2?
I tried to use tLink to get global damping, but I am not sure how to do this (attached patch..) marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi
marius schebella a écrit :
hi, I know, I am already too old for posting feature requests. I was just thinking that I miss the ability to damp the speed of masses in msd. right now I am using something like mass mass1 1 100 0 0 mass mass2 1 100 1 0 link l mass1 mass2 10 10 0 0.01 0 link l 1 I want that the masses reject each other within a certain range
To do that, you must link masses with a link with a Lmax value corresponding to the length of the link, for example: link rebound mass1 mass2 10 10 0 1
and then just reduce speed and stop if the speed is lower than a certain threshold.
The way to do that is to use some tangeantial link, simulating fluid resistance, you must introduce a resisting point: mass m0 0 100 0 0 and then link damping mass0 mass1 0 3 for the mass1 there is a damping in the msd/02_msdstring example
Nicolas