|
Entheogen Aeon
boing boom tschak
Join date: 25 Dec 2007
Posts: 34
|
12-18-2008 13:55
I am wondering how given a set of coordinates I can visit all of them according to some precomputed trajectory. The problem is that llSetPos makes for choppy motion, and I am wondering what is a way to achieve same effect as llSetPos but have the object move between those coordinates in a smooth uninterrupted motion.
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
12-18-2008 14:56
You'll probably want to make it physical and use llTarget/llMoveToTarget to move it instead. That and llLookAt to change the rotation.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-18-2008 16:38
using smaller moves in set pos reduces choppiness, especially if you are NOT riding said object (riding tends to magnify the perception of choppiness)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Entheogen Aeon
boing boom tschak
Join date: 25 Dec 2007
Posts: 34
|
12-18-2008 16:40
From: Void Singer using smaller moves in set pos reduces choppiness, especially if you are NOT riding said object (riding tends to magnify the perception of choppiness) I already tried this way before, and think I will have to use physical object ones because I would also have control over time that way.
|
|
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
|
12-18-2008 18:15
I have seen vehicle stations next to roads on old mainland regions, i think its the second continent northesastern part where there are small TAXI-PLANES that move along linden-roads and far over various parcels along a set circular course that was a dozen regions long. And they do that smoothly and fast enough not to get autoreturned. the math is yours. http://en.wikipedia.org/wiki/Spline_(mathematics)
|
|
Entheogen Aeon
boing boom tschak
Join date: 25 Dec 2007
Posts: 34
|
12-18-2008 18:24
From: Ollj Oh I have seen vehicle stations next to roads on old mainland regions, i think its the second continent northesastern part where there are small TAXI-PLANES that move along linden-roads and far over various parcels along a set circular course that was a dozen regions long. And they do that smoothly and fast enough not to get autoreturned. the math is yours. http://en.wikipedia.org/wiki/Spline_(mathematics) I actually added the algorithm section to that page in wiki, but thanks 
|
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
12-19-2008 08:31
If the object has to be nonphysical, consider the 'nonphy' vehicle scripts in the library, but keep in mind that this method is very laggy: it's bad for the sim, esp if you use 8 helper scripts as suggested (I find that 3 or 4 work fine).
|