Jump to content
  • 0

Pet following upon rez


Matti Leitner
 Share

You are about to reply to a thread that has been inactive for 4433 days.

Please take a moment to consider if this thread is worth bumping.

Question

Hello, I am hoping I can make this as easily understood as possible- since it seems a little bit complicated.

 

I have created a script that allows my four legged pet to follow directly behind me as soon as I rez him. It works amazingly; however, the pet does not have any animation. It simply glides across the ground in my direction and stops abruptly behind me.

In specific, when my pet begins to walk, I want it's limbs to move along with it. I then want the limbs to stop moving when I have stopped (and the pet has reached it's original distance from me). I would like to know if there's a capable script that is able to be created to do this?

I had looked into many free to use scripts, and the closest one I was capable of using made the limbs look extremely dull and laggy. The pet did not look like it was walking, but instead it's body parts were being forced into new positions slowly and out of sync.

If anyone is willing to help, I would gladly appreciate it!

 

 

------------------------------------------------------------------

 

Thank you for your help guys! I definitely will try out all three methods. I had actually tried using the script mentioned in the last post, but I was using someone's premade version of a creating took- so it was look horribly bad. I do not need my pet to be so realistic that it's baffeling, I just didn't like how when the pet walked, one leg was left behind :P 

 

Again, thank you guys! didn't expect such a quick response!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0


Matti Leitner wrote:

I have created a script that allows my four legged pet to follow directly behind me as soon as I rez him. It works amazingly; however, the pet does not have any animation. It simply glides across the ground in my direction and stops abruptly behind me.

LOL! It seems that my RL dog has been scripted by you! :P:D

Sorry, I know nothing about scripting. You may also want to post your question in the scripting forum to increase your chances for replies. Some pet creators do help in these fora. :smileyhappy:

http://community.secondlife.com/t5/LSL-Scripting/bd-p/LSLScripting

  • Like 2
Link to comment
Share on other sites

  • 0

Well you're obviously pretty good, a follower script is a suprisingly difficult thing to get right.  It's probably redundant to tell you but the main source of information is here: http://wiki.secondlife.com/wiki/LSL_Portal

The best tool we have for animating objects is http://wiki.secondlife.com/wiki/LlSetLinkPrimitiveParamsFast.  In fact that's about the best tool we have for anything!  Even so it's going to be a matter of trial and error to try to synchronise the legs with the overall movement, there is nothing that can help with that.

There are always lots of options and alternatives when programming and this is not a straightforward 'do this, click that' type of question so it really is better to post in the scripting forum, as Valerie says.  We can talk techn-gibberish there without scaring the horses.

  • Like 2
Link to comment
Share on other sites

  • 0

It's very hard to get arms and legs to move realistically as you move a pet (or yourself!).  There's always a degree of wooden stiffness -- a cartoon-like appearance.  There are sophisticated animation tools for working with avatars, so we can do fairly well with them. Pets are a different matter, though, because each one is different --- a custom creation.  One popular tool for the job is Puppeteer, which is free and available in Marketplace >>> https://marketplace.secondlife.com/p/Puppeteer-Free-Edition/176832 .  You might want to watch this tutorial to get a feel for how it works >>> http://www.youtube.com/watch?v=x0GEdeU__1w    You shouldn't expect to get the sort of fluid motion that avatar animators get with their mo-cap software, but with practice you ought to be able to get something that looks goood.

  • Like 2
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4433 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...