Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

is it possible for a non physical object

Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
11-29-2005 21:38
To move along a specified vector at a specified velocity?
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
11-29-2005 21:53
Define "move."

Can a non-physical object move at a set velocity? Sure.

CODE

vector velocity = <0,0,0.05>;

state_entry()
{
while(TRUE)
{
llSetPos(llGetPos() + velocity);
}
}

Now, moving seamlessly is a completely different matter. For that, you pretty much need the object to be physical.
_____________________
---
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
11-30-2005 08:34
From: Jeffrey Gomez

Now, moving seamlessly is a completely different matter. For that, you pretty much need the object to be physical.


ah, that's the catch then :|