|
Sleipnir Norsk
Registered User
Join date: 9 Jun 2007
Posts: 1
|
07-01-2007 19:07
Hello;
I'm trying to get a creature that's 'animated' using alpha-switch scripts to be able to follow me, but he's many more prims over the physics limit. Is it possible to make him follow me, and how might I go about that?
Thanks
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
07-01-2007 19:34
Might try llSetPos() and llSetRot() to move near and face toward the target, instead of the usual follower llMoveToTarget(). One consideration is that llSetPos() can't jump more than 10m in one hop, so if Spot gets distracted for too long, he might get lost, unless you script for that eventuality. Also, I'd expect Spot might happily pass through walls and do some other tricks uncommon among canines more readily than would a physics-based pooch.
|
|
Griffin McAlpine
Registered User
Join date: 7 Jan 2007
Posts: 16
|
07-02-2007 00:18
I have found that warpos hack (from the wiki) works very nicely. That means its viable for the pets full sensor range.
The movement is a little jerky but as mine is made of flexi materials this is a plus rather than a minus.
Crossing Sim boundries can be problematic but this can be overcome (still getting this smootheed out). It will also help to build in checks at some stage for script / object ban restictions on parcels.
|