Commit graph

4 commits

Author SHA1 Message Date
AzaezelX f4e6060b52 pathshape cleanups and callbacks
sceneObject:
   UpdateXformChange(mat); operates on the parent object, so made no sense to shove it in void SceneObject::PerformUpdatesForChildren(MatrixF mat){
provide callbacks for when the parent/child relationship changes

simpath+camerapline+pathshape
provide a mechanism to embed a callback for a pathshape defined on a path node. example:

            new Marker() {
               seqNum = "7";
               hitCommand = "TheCommand" // <------------------------------;
               position = "-17.0856 -92.2349 4.00051";
               rotation = "0.0334943 -0.254411 0.966516 179.495";
            };

function PathShapeData::TheCommand(%this,%obj)
{
    echo("Do the thing");
}
2022-07-27 16:35:09 -05:00
AzaezelX a41b28f6b7 safety check
ensures
`   Knot *p1 = getKnot((S32)mFloor(t));
   Knot *p2 = next(p1);`
can't trip bad memory
2020-07-03 15:47:05 -05:00
Azaezel a0dc2adff8 suppresses a leak potentially caused by Knot::mType||Knot::mPath entries. 2016-06-21 20:53:08 -05:00
DavidWyand-GG 7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00