[Closed] BoBo .. Paul … HELP
Hi All …
All i want to do is an real time spring kind of …
position to position but with a delay … ( i think this is what we call it real time spring ) i tried the one in scriptspot but i want to know how … pleas help … http://forums.cgsociety.org/newthread.php?do=newthread&f=98#
Paul you are my rawmodel man …
I think you mean rolemodel, not rawmodel… at least I hope you do.
And if the one in scriptspot works you can just have a look at the code to see how it´s done.
Some times I can be a bit raw.
Also it is compliment that my name is listed beside Bobo’s
I don’t completely follow what you are trying to do? You want to script a real time spring? or you want to use the built in real time spring?
hi paul Sorry for the english …
No i want to make a real tomr spring …
MarcoBrunetta … thanks for the tip …
i hade a look but couldn’t really got it …
This is pretty much all you need: http://www.myphysicslab.com/spring1.html . Here is a very good implementation of the spring and an excellent explanation of the principle. Convert the F = -kx into Maxscript and apply the changes, say, to a script controller. But you will need to really understand how the formula works, and a bit of work with derivatives. Most of them are already given there, I think. Ah, and well ofcourse you will need to convert it into 3D space… Dunno how good you are with math, but this one will have you thinking a bit… Well maybe a little more than a bit:)