Open supertuxkart-sourceforge-migration opened 10 years ago
Author: hikerstk Postponed to later: only the star track would make any use of this atm (the UFO), and it's a pretty rare happening atm - so postponing this till later.
Author: auria Exporter support added in r9636
Author: auria Accurate collision shapes added in r9867, so I think this takes us closer to having it done. We just need a new flag to state that on collision, instead of just pushing the kart, the user should be rescues : in this case the entire object would cause a rescue but this is often sufficient.
Author: hikerstk Support for this has been added to STK in r9910.
Missing is now support in the exporter, so reassigning to Auria.
Author: auria Started in r9914.
Though I just realized this should rather be an interaction type and not a separate parameter. Also the panel/exporter currently don't have support for using an exact collision shape. So 2 TODOs.
Author: auria Oh, AND : for "Static" interaction, the panel currently doesn't allow setting the shape
Author: auria Setting shape for static animated objects : r9915.
Joerg, this is a little confusing. Atm when you select "object" with interaction="static", this can be either an animated or a non-animated object. The problem is that the "shape" attribute is used only if the object is animated. So it's a little weird to show the "shape" attribute in the panel but it may not be used at all
Author: auria Exporter and panel done in r9916.
Joerg, sending this back to you. There are a lot of style changes in your commit so it's hard to tell what actually changed, but as far as I can tell your crash="Y" thing is incomplete : it looks like you implemented it only for movable objects. We also want it for animated objects and static objects
e.g. :
<static-object model="pot.b3d" xyz="79.532364 0.067819 97.131233" hpr="-0.000000 -0.000000 -0.000000" scale="1.000000 1.000000 1.000000" reset="Y"/>
<object type="animation" model="mill.b3d" xyz="246.505005 39.382900 -153.967865" hpr="-0.000000 -213.891008 -0.000000" scale="1.000000 1.000000 1.000000" shape="box" reset="Y">
<curve channel="RotZ" interpolation="linear" extend="cyclic">
<p c="1.000 -0.000"/>
<p c="100.000 -360.000"/>
</curve>
</object>
Author: auria
Author: hikerstk Added in r9924. Reassigning to Auria. The outstanding thing is supporting to create static objects that trigger rescue. Based on a discussion on irc (and the fact that usually the mesh of static objects are merged into the track mesh to allow bullet to handle as much as possible in one object), the outstanding thing is in the track exporter to export a static objects which has reset defined as an animated objects (without any IPOs).
Author: auria The scripts were actually already done, don't remember which revision. Code-level support completed in r10001.
Author: hikerstk
This would be useful e.g. for electric fence and other obstacles. It could also be used for a flying saucer (a beam from the flying saucer triggering a rescue).
To clarify: atm we only support textures to trigger a rescue when driving on.
Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/163