Search the Community
Showing results for tags 'follower'.
-
i have a prim with sensor which can follow me when i call it ,it uses RotLookAt to look in the same rotaion of my AVI but it comes with its back if i look at it , so i used a rotation offset in z by 180 degree to make it comes to me but if i call it while my back to this prim ,it comes with back cant solve this anyone can help i appreciate this example will be used for pet cat this is script in object : //// rotation rot_xyzq; oppisiteRot() { rotation rot = llDetectedRot(0); vector xyz_angles = <0,0,180>; // This is to define a 1 degree change vector angles_in_radians = xyz_angles*DEG_TO_RAD; // Change to Radians rot_xyzq = llEuler2Rot(angles_in_radians); llRotLookAt(rot*rot_xyzq, .1 , 1); } default { state_entry() { llSetStatus(STATUS_PHYSICS, TRUE); } touch_start(integer num_detected) { vector pos = llGetPos(); // Look for owner within 20 meters in 360 degree arc every 1 seconds. llSensorRepeat("", llGetOwner(), AGENT, 20.0, PI,1.0); } sensor(integer total_number) { oppisiteRot(); vector pos = llDetectedPos(0); // Offset back one meter in X and up one meter in Z based on world coordinates. vector offset =<-1,0,1>; // offset = offset*llDetectedRot(0); //Adding this line will orient the follower relative to the owner's position. pos+=offset; llMoveToTarget(pos,0.4); } }
-
Heya nwn! I'm Burn, and I LOVE, ❤️ LUV Pokémon! My first Pokémon starter was Squirtle, so! I'm looking for a cute kawaii squirtle, whether it's an avatar, model or a follower! Can you help please help me find them! Stores I may look around are appreciated: Stores for animesh or anime avatars, even Pokémon places with furries I think are going to be handy! Thank youuu ~ PS: Please contact me in world if I don't reply here n_n ! I'll appreciate it yay n_n !