SLUNIVERSE |
| | #1 (permalink) | |
| Doing stuff ![]() ![]() ![]() ![]()
Made new armor ^^
Join Date: Sep 2007 Location: Glasgow, Scotland
Posts: 2,607
SL Join Date: 14/10/2006
Business: MagoTek Industries SLShopper Ads: 1
My Mood: | Need Help Moving Large Objects :( My current project has suddenly hit a big brick wall. Very frustrating. ![]() In short, I'm trying to move some very large (single prim) physical objects, slowly. I have it working up to 10x10x10, but once I get into the megaprims, everything falls apart. And I need to make it work with 30x30x30 at the largest. The problem, is energy. I was using llSetBuoyancy to keep my object n the air, and it worked fine with the smaller sizes. But now, I'm trying to do a 12x12x12, and it's just too heavy. It flies slowly for about 5 seconds, then suddenly runs out of energy, and drops like a stone. This is already hollowed out, by the way. Before hollowing, it wouldn't move anywhere but down at all. I need some creative solutions for holding a large physical object in the air for a fairly long time. Probably up to a minute or so. Can anyone help out?
__________________ Quote:
| |
| | |
| | #2 (permalink) |
| Doing stuff ![]() ![]() ![]() ![]()
Made new armor ^^
Join Date: Sep 2007 Location: Glasgow, Scotland
Posts: 2,607
SL Join Date: 14/10/2006
Business: MagoTek Industries SLShopper Ads: 1
My Mood: | Can anyone help ? |
| | |
| | #3 (permalink) |
| exp(ln(Gearhead)) ![]() ![]() ![]() ![]()
lim as x->0 of Geek/x
Join Date: Jun 2007 Location: Philippines
Posts: 3,727
SL Join Date: March 28, 2006
Business: Aodhan's Forge
SLShopper Ads: 2
My Mood: | IIRC megaprims screw up Havok physics. I'm not sure if impulse control systems can handle it.
__________________ We can't get rid of Landbots but we can stop the damage. VOTE this proposal on the Jira. Current votes: 71 http://jira.secondlife.com/browse/VWR-2905 Kontours Classic 1-prim chair. Sculpted, menu controlled http://www.sluniverse.com/php/shop/s...ct=786&cat=500 |
| | |
| | #4 (permalink) |
| Stabbity! ![]() ![]() ![]() ![]()
GAH!
Join Date: Aug 2007 Location: Darkmere
Posts: 2,539
SL Join Date: October 24, 2006
Business: Cortech Enterprises SLShopper Ads: 13
My Mood: | Trying to get Havok to cope with mega prims may be an exercise in madness. I wish you luck.
__________________ Second Life®, SL®, $L™, Lindens™, Linden Dollars®, Linden Lab®, Missing Image™, [RESOLVED]™ and the color gray are trademarks or registered trademarks of Linden Research, Inc. All rights reserved. |
| | |
| 1 User Agreed: |
| | #5 (permalink) |
| exp(ln(Gearhead)) ![]() ![]() ![]() ![]()
lim as x->0 of Geek/x
Join Date: Jun 2007 Location: Philippines
Posts: 3,727
SL Join Date: March 28, 2006
Business: Aodhan's Forge
SLShopper Ads: 2
My Mood: | I've done a lot of impulse control system programming and if buoyancy is failing you, and I know that impulses are not as powerful as they used to be, I have serious doubts that it can be handled smoothly. Try an llSetForce(<0,0,9.8>*llGetMass(),FALSE) ... and pray. |
| | |
| 1 User Said Thanks: |
| | #6 (permalink) |
| The Purple ![]() ![]() ![]()
Kinda at work. Somewhat.
Join Date: Dec 2007 Location: Somewhere purple, Germany
Posts: 1,300
My Mood: | I think Dan Linden posted a 'fix' on the according JIRA to make movetotarget and buoyancy work for bigger prims (this starts with 5x5x5 already at times) llApplyRotationalImpulse(<0,0,0>,0,FALSE); I'm not sure if it has to be called repeatedly or not. |
| | |
| 1 User Said Thanks: |
| | #7 (permalink) |
| Doing stuff ![]() ![]() ![]() ![]()
Made new armor ^^
Join Date: Sep 2007 Location: Glasgow, Scotland
Posts: 2,607
SL Join Date: 14/10/2006
Business: MagoTek Industries SLShopper Ads: 1
My Mood: | Oh, wow, good results so far. Aodhan's suggestion makes it work - for 12x12x12 at least . We'll see how it fares with larger sized. If this doesan't work, I'll try the rotational impuilse |
| | |
| | #8 (permalink) |
| Doing stuff ![]() ![]() ![]() ![]()
Made new armor ^^
Join Date: Sep 2007 Location: Glasgow, Scotland
Posts: 2,607
SL Join Date: 14/10/2006
Business: MagoTek Industries SLShopper Ads: 1
My Mood: | ![]() ![]() Yay llSetForce is working even for the 30x30x30 . Not only that, it works entirely perfectly. Using llSetBuoyancy before, it was slowly sinking even at 10x10x10. Now there's no sink at all, and it can actually fly upwards This is awesome. Thank you Aodhan ![]() |
| | |
| | #9 (permalink) | |
| exp(ln(Gearhead)) ![]() ![]() ![]() ![]()
lim as x->0 of Geek/x
Join Date: Jun 2007 Location: Philippines
Posts: 3,727
SL Join Date: March 28, 2006
Business: Aodhan's Forge
SLShopper Ads: 2
My Mood: | Quote:
In essence the function I gave you is a gravity canceller. I have no idea what its limits are in havok 4. | |
| | |
| | #10 (permalink) |
| Banned ![]() ![]()
mmmm, coffee
Join Date: Dec 2007 Location: Hillsboro, OR, USA
Posts: 430
SL Join Date: 4/4/2004 SLShopper Ads: 1
My Mood: | Sounds like you've got it working, but if you feel like testing another way, you might try making them vehicles. Airplanes specifically. Vehicle buoyancy is different and not as restricted as llSetBuoyancy. |
| | |
| | #11 (permalink) |
| Junior Member ![]() Join Date: Jan 2008 Location: Seattle, WA
Posts: 29
| I've had some problems with large prims falling out of the sky after a long period of time. I'd recommend double checking llGetEnergy() and making sure it's not slowly leaking energy and will die after a day or two. If you need it alive that long. It's rare to hit that perfect point, but it's happened to me. Some good tricks in this thread. |
| | |
| | #13 (permalink) | |
| Taco's Grammar Slave ![]() ![]() ![]() ![]()
Some Flowers and Trees
Join Date: Jun 2007 Location: Alabama
Posts: 2,978
SL Join Date: November, 2003
Business: Fate Gardens Flowers and Trees SLShopper Ads: 2
My Mood: | Quote:
| |
| | |
| | #14 (permalink) |
| exp(ln(Gearhead)) ![]() ![]() ![]() ![]()
lim as x->0 of Geek/x
Join Date: Jun 2007 Location: Philippines
Posts: 3,727
SL Join Date: March 28, 2006
Business: Aodhan's Forge
SLShopper Ads: 2
My Mood: | Thanks to this thread I actually rezzed my first megaprim (evah). It's a 32x32x4 that I just tapered. It's going to be my new flooring for the workshop and maybe the store too, I don't know. Non-physical YES I'm that boring at times. ![]() |
| | |
| | #15 (permalink) |
| Doing stuff ![]() ![]() ![]() ![]()
Made new armor ^^
Join Date: Sep 2007 Location: Glasgow, Scotland
Posts: 2,607
SL Join Date: 14/10/2006
Business: MagoTek Industries SLShopper Ads: 1
My Mood: | I don't need it anywhere as long as a day. It's for the gigantic energy ball I'm making, it will generally have a lifetime of 1-2 minutes, so even if it were slowly leaking energy, this does the job for me |
| | |
![]() |
| Tags |
| ;-;, big stuff, megaprim, t_t |
| Thread Tools | |
| Display Modes | |
| |