Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGround with hovering prim

Bernardo rockwell
Technomage
Join date: 8 Oct 2004
Posts: 31
01-19-2005 13:17
How can I do to make my scripted prim go up in a hill with the value this command gives?
I don't seem to make it right.
Thanks in advance.
Tcoz Bach
Tyrell Victim
Join date: 10 Dec 2002
Posts: 973
01-19-2005 14:50
Send me a tell I wrote this routine for my Terrain bots so they could march up and down hills.

Basically, you use llGround, but make sure you add to the forward vector of the object so that it is in fact looking a little in front of itself. than update the position of the object to reflect the constant you want it to be at above the ground. It's not hard at all I can show you quick.
_____________________
** ...you want to do WHAT with that cube? **