G General

Floating Prim Script (No Fixed Position)

Floating Prim Script (No Fixed Position)
Details
Features
Contents
Reviews

FULL PERM
more script here
http://maps.secondlife.com/secondlife/Lamprey/31/65/233

What This Does:
Uses llGetPos() to get the prim’s current location.

Applies a gentle vertical bob using sine wave.

Adds a slow horizontal drift in a chosen direction.

Keeps the motion continuous and natural, like floating on water.

Tips:
You can randomize driftDirection slightly for more organic movement.

If you want it to stay within a certain area, you can add boundary checks later.

For linked prims, consider using llSetLinkPrimitiveParamsFast() instead.

See item in Second Life
  • scripts
  • floating
  • tools
  • elements
  • boats
Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
Creator is helpful
full star full star full star full star full star Posted October 14, 2025 by Tatsuuya Starchild

I had an issue and the creator helped promptly.

Was this review helpful?