Jump to content
  • 0
Sign in to follow this  
LuckyCreations1488303085

I am trying to make an aquarium with fish that swim around in it, but am having a problem.

Question

  • 0

since I can't be sure what axis the head points to it's hard to guess... but one of these four rotations applied in the REPLACE_ME spot should fix it.

 

llSetPrimitiveParams( [ PRIM_POSITION, root + , PRIM_ROTATION, llEuler2Rot( <0.0, 0.0, angle> ) * REPLACE_ME ] );

<0.0, 0.7071067, 0.0, 0.7071067>

<0.0, -0.7071067, 0.0, 0.7071067>

<0.7071067, 0.0, 0.0, 0.7071067>

<0.7071067, 0.0, 0.0, 0.7071067>

 

and for future reference, you're likely to get faster and more complete answers to scripting issues over here

  • Like 1

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

since I can't be sure what axis the head points to it's hard to guess... but one of these four rotations applied in the REPLACE_ME spot should fix it.

 

llSetPrimitiveParams( [ PRIM_POSITION, root + , PRIM_ROTATION, llEuler2Rot( <0.0, 0.0, angle> ) * REPLACE_ME ] );

<0.0, 0.7071067, 0.0, 0.7071067>

<0.0, -0.7071067, 0.0, 0.7071067>

<0.7071067, 0.0, 0.0, 0.7071067>

<0.7071067, 0.0, 0.0, 0.7071067>

 

and for future reference, you're likely to get faster and more complete answers to scripting issues over here

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Hello LuckyCreations very easy fix. I don't know if you fix the problem but there I go anyways :: remove the scrip from the fish, create a new prim, make it transparent attach your fish to it, then select the transparent prim with( edit link what ever is the option )then drop the script on the transparent prim and you are done! make sure to position you fish in the right angle before the link :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...