Corporal Candour
Registered User
Join date: 3 Sep 2005
Posts: 38
|
09-05-2005 11:15
Ok here's the deal. I've been working on this helicopter for a while but I don't have a door. I decided to make the front window a phantom object and everything else not. However, when I link it together the whole object becomes solid! Is there a phantom script out there?
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
09-05-2005 11:42
Unfortunately, do to the nature of the Havok physics engine, you can't make parts of a linked set phantom. Sorry.
|
Alain Talamasca
Levelheaded Nutcase
Join date: 21 Sep 2005
Posts: 393
|
Solution
09-28-2005 11:53
I know this is not a perfect solution, but it works on my spacecraft, so it should work on your Helicopter.
I have a spacecraft model that has an enclosing bubble of glass, with the pilot's seat inside the main chamber, very similar to the situation with a 'copter. When assembling the whole thing, I slide all components into place except the bubble, including a special prim incorporated into the pilot's seat that houses the flight script. (This is easier to adjust in terms of X axis orientation than adjusting the entire ship structure... Many of my designs are organic in nature, and so not always symmetric. Aesthetics demands that the ship fly THIS WAY" when the main axis of the ship is going THAT way.... It's usually a button in the upholstery of the pilot's seat... just adjust the button's direction, and then you can fine tune the ship's flight direction.)
Anyway, once you have everything assembled except the bubble, select all the parts and link them, making sure to keep the special "Flight" prim as parent. Slide the bubble into place, and while it is still selected, Shift-click on any part of the ship object, and link these together. You now have a ship object that you can get into without a phantom bubble simply by right clicking and selecting "Fly", or whatever your script defines.
The only problem that I have found on this method thus far is that, when you unsit, you end up on top of the ship. For the appearance of realism, I exit the ship immediately upon releasing controls.
Future versions of my organic ship scripts will involve "irising" parts that are in the way, so that the ship's bubble opens upon touch or touch-down, and closes as part of the take-off process. I know this won't be as useful for inorganic designs, but you could use a hinge structure for the bubble instead, having the bubble pitch forward or up, perhaps, opening up the cockpit.
|
JackBurton Faulkland
PorkChop Express
Join date: 3 Sep 2005
Posts: 478
|
09-28-2005 12:00
Why not enable the physics only while the av is sitting?
|
Nathan Stewart
Registered User
Join date: 2 Feb 2005
Posts: 1,039
|
09-28-2005 14:48
Havoc is used for all objecs and av's in a sim, so non physics enabled objects are also effected, cant link phantom and non phantom objects together, not sure if you could manipulate llVolumeDetect(TRUE); which makes a prim phantom but im sure that passes to all other prims as well
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
09-29-2005 04:30
I've remarked that moving child prims in a linkset using llSetLocalPos or llSetPrimitiveParams tends to make those parts phantom without affecting the rest of the linkset.
Otherwise, jointing the phantom parts to the rest should work.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
09-29-2005 09:45
From: Jesrad Seraph I've remarked that moving child prims in a linkset using llSetLocalPos or llSetPrimitiveParams tends to make those parts phantom without affecting the rest of the linkset. It's not that it makes them phantom, it just fails to update the bounding box of the object in question.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|