PDA

View Full Version : Newtonian Follower plugin released



Dan_Ritchie
08-13-2014, 04:53 PM
I have written a small plugin to be used with an updated version of the rabbit ear trick. It can also be used for other purposes. It allows an object to be followed, using Newtonian physics.

Instead of getting overly complicated with a lot of parameters, there is just 2, "Stiffness" that controls the motion of the object. It can range from planetary like motion, to spring or yo-yo like effects, to a jolt like effect. There's also a setting for gravity.

I've seen plugins like this in the past, but they usually did not work if rendered out of order, which is a big problem on a render stack. We solved the problem by calculating all the way through for each frame. Since this intensive, we allow for an on/off control object, as well as control objects for stiffness and gravity.

We suggest a price of $5.99 per seat, but we give the option to send "what it's worth to you." by using our donation page. http://dan-ritchie.wix.com/donations. It's a secondary project, and we're not freaky about it.

Newtonian Follower can be found on http://www.squirreldome.com/

You can go directly there from here. http://www.squirreldome.com/Newtonian.htm


Below is an example of using it with the rabbit ear trick.

https://www.youtube.com/watch?feature=player_embedded&v=hiVn4peVjC8

Oldcode
08-13-2014, 08:23 PM
Interesting idea for a plugin. Do you think you could use this for a dangling rope or vine? Something that can be affected by another object and swings back and forth after the object goes by?

raw-m
08-14-2014, 02:40 AM
This looks like it could be incredibly useful. Is it Mac happy?

sudac20
08-14-2014, 10:04 AM
can you constrain it to a single axis such as Y for vertical movement?

Dan_Ritchie
08-14-2014, 12:18 PM
And here is the demo. Yes, I think it should work on Mac too.

www.squirreldome.com/download/Newtonian_Demo.zip

Again.
We suggest a price of $5.99 per seat (the price of a taco breakfast, because we're into that stuff) but we give the option to send "what it's worth to you." by using our donation page. http://dan-ritchie.wix.com/donations. It's a secondary project, and we're not freaky about it.

Newtonian Follower can be found on http://www.squirreldome.com/

You can go directly there from here. http://www.squirreldome.com/Newtonian.htm

raw-m
09-13-2014, 04:14 AM
Hi Dan, just trying out the demo on a Mac before buying. When I try to apply the plugin to an item under Motion Options, I get the error "Could not create data object for Newtonian_Demo plug-in". Any ideas?

Ryan Roye
09-13-2014, 08:18 AM
I get the error "Could not create data object for Newtonian_Demo plug-in". Any ideas?

I'm also getting this... I wanted to experiment with a few possibilities involving this plugin that I think would be interesting.

EDIT: for reference I'm on a windows PC running Lightwave 11.6.3

Dan_Ritchie
09-13-2014, 10:18 AM
Sorry, I have no Mac experience outside of screenwriting class. If any mac lscripters want to take a look at it, they can contact me.

raw-m
09-14-2014, 03:22 AM
Thanks for getting back to us. Not sure if you saw chazriker's update, but he's having the same issue on Windows.

Dan_Ritchie
09-16-2014, 12:59 PM
I've updated the demo with the latest build. Fixes one bug. Hope it helps.

www.squirreldome.com/download/newtonian_Demo.zip

raw-m
09-17-2014, 02:55 AM
Thanks Dan, that did it for me! Great little plugin.

Would be nice to have the option to add it to Rotation and Scale, for a future update.

Ryan Roye
09-17-2014, 10:44 AM
Fixed for me too. I'll see if I can whip up a demo video that uses this tool... I see lots of scenarios where this is really handy.

Dan_Ritchie
09-17-2014, 11:28 AM
Hadn't thought of that.

Kevbarnes
09-17-2014, 12:51 PM
I see lots of scenarios where this is really handy.

This may help, I posted these on the other thread
(http://forums.newtek.com/showthread.php?142960-New-slider-custom-object-lscript&p=1394893&highlight=#post1394893)

Newtonian dynamic lag plug-in test with Custom Slider

124328
1. All bones with plug-in
This set-up tends to result in a lot of motion on the last bone
----------------

124329
2. Single Bone set-up
Possibly, a more controllable look would be to use the plug-in on one bone with the
other bones using 'Constraints' (or Follower). This works much like Mike Green 'Springythingy'
---------------

124330
You could also replace the Bone2 (The Bone that the plug-in references) with a null