Jump to content
  • 0
Sign in to follow this  
Matti Leitner

Pet following upon rez

Question

  • 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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...