On Wed, 2008-01-09 at 18:43 -0600, Curtis Olson wrote:
> Hi Everyone,
> 
> I was testing some stuff today and added a couple models to the scene
> with the UFO (I made a little Evel Knievel course with ramps to jump a
> 737.)  That worked great and the snowplow flies through the air and
> hits the ground and (possibly) the downside ramp pretty realistically.
> In the OSG version of flightgear I had great fun figuring out what
> speed I needed in order to clear a 737 and make the other ramp on the
> downside, stay on my wheels, etc. etc.  Very cool!  This actually has
> a real purpose, but I won't bore you with that. 
> 
> So now I popped open the plib version 1.0 so I could do the same thing
> with shadows enabled and make a cool youtube movie. 
> 
> The problem I found though is that in the plib version, I just drive
> straight through the skijump and the 737 where as in the OSG version
> they work as expected.  Is there a way to make these --config=
> stuff.xml type objects driveable so that my skijump will work as a
> jump rather than just taunting me as I pass straight through them?
> 
> Thanks,
> 
> Curt.

Curt,

There is an animation type called <enable-hot> that does this.  In the
OSG version it defaults to true, perhaps it defaults to false in PLIB
version?

Anyway, try something like this:

<?xml version="1.0"?>

<PropertyList>

 <path>ramp.ac</path>

 <animation>
  <object-name>ramp</object-name>
  <enable-hot>true</enable-hot>
 </animation>

 <animation>
  <type>range</type>
  <min-m>0</min-m>
  <max-m>5000</max-m>
 </animation>

</PropertyList>


Ron



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to