G General

.:-: Eyeball Movement Script Version 1.0.0

.:-: Eyeball Movement Script
Details
Features
Contents
Reviews

A simple full-perm script that changes the position of an eye texture so that it looks like the eye was looking/moving around.

This script was made with eyes made up of cylinders in mind. I do not guarantee for this script to work with eyes made up of other shapes or mesh.

Simply place the script inside your eye prim and it should work right out of the box.

The code is well documented via fitting variable names and comments. Editing the script to your liking should be no problem even for an amateur coder.

You are not allowed to sell this item as-is.

  • Full perm
  • 1 Script only
  • For creators
Average rating: full star full star full star full star half star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
Takes adjusting, but works fine
full star full star full star full star empty star Posted October 01, 2018 by Spike Bloodrose

Because the seller thought not to include instructions, let me spell it out for fellow non-coders like myself.
This script requires that both eyes be on the same link, which means each eye is actually a different "face". You need to change the part that says "integer primface" from 0 to ALL_SIDES. If that doesn't work, try giving SLs code wiki a visit and see if you can figure it out.
Eyes freaking out or moving away too much? Yeah, mine did too. Try messing with the first two numbers in xOffsets and yOffsets until it seems right.
4 stars because it works great, but no instructions is just not nice. Well-documented is all well and good, but if your buyer doesn't code, then what?

Was this review helpful?
Fun!
full star full star full star full star full star Posted August 28, 2018 by Katz Republic

Works with cylinders. Thanks!

Was this review helpful?