Jump to content

Ewadir

Resident
  • Posts

    35
  • Joined

  • Last visited

Posts posted by Ewadir

  1. I have just start in SL and as a programmer (with help of my girlfriend, graphic designer), we are creating our first products (tattoo appliers and accessories). But none of us have a premium account. I was reading the Marketplace terms, and its required to link an PayPal account as payment information. 

    My doubts: 1. Why? Do LL have a monthly tax or something over stores? 2. I don't want to link a credit card to my PP account, so I can't have a store, right? If so, how could I sell my items? Is it common to sell though some estabilished store?

    Thank you very much.

  2. Thank you all. I made it work, tested over roofs and it's rezzing on roof level :) 

    vector ownerPos   = llList2Vector(llGetObjectDetails(ownerID, [OBJECT_POS]), 0);
    llRezObject("Box", ownerPos + <0,0,-1>, <0,0,0>, <0.707107, 0.0, 0.0, 0.707107>, 0);

    My problem now is to make the couple face each other (it's a dance, so its required), but topic question solved. 

  3. 3 minutes ago, Fenix Eldritch said:

    But if you want the rezzer to be able to work on solid platforms above the ground terrain, then you may want to consider additional options.

    You could take the size of the avatar wearing the object and subtract it (or a percentage of it) from the z portion of your target rez position. Or you could use llCastRay() pointing directly down and use the coordinates returned of the first ray hit.

    I didn't take into account platforms... It's a little more complicated than I thought. I'll read more about your suggestions. Thank you.

  4. Mmm, still a little lost. I was reading the http://wiki.secondlife.com/wiki/LlRezObject page, it says:

    llRezObject( string inventory, vector pos, vector vel, rotation rot, integer param );

    So I suppose it should be right?

    llRezObject("AO1", llGround(ZERO_VECTOR), <0.0,0.0,0.0>, <0.707107, 0.0, 0.0, 0.707107>, 0);

    But returns a "function call mismatches number of arguments"... Or maybe I didn't get something yet.

  5. Hello, first post here. I'm trying to create my first item on SL. 

    I have a box. When this box is opened, two pose balls are called. I make it work with no serious problem.

    Except that:

    • if the box is rezzed on the ground, the balls appears in a height relative to the box; since it's on ground, ok.
    • If the box is attached to the hand of an avatar, the balls appears in a height relative to the box PLUS avatar height. 

    I need the pose balls always relative to the ground level. This is my code:

    llRezObject("AO1", llGetPos() + <0.0,0.0,0>, <0.0,0.0,0.0>, <0.707107, 0.0, 0.0, 0.707107>, 0);
    llRezObject("AO2", llGetPos() + <0.0,0.0,0>, <0.0,0.0,0.0>, <0.707107, 0.0, 0.0, 0.707107>, 0);

    Any idea or code snippet are welcome. Thanks!

×
×
  • Create New...