World Tracking - Playing a Timeline After Placing Ground

Hello,

Could you tell me the best way to play a timeline after tapping the Place Icon in the World Tracking Ground Placement symbol?

Where/how do you trigger playing a timeline after your floor has been placed. Currently, I’m playing the timeline within the Show script in the World Tracking Ground Placement which is a child of Root, but the timeline plays before the scene is placed on the floor and the Place Icon is tapped. I’m delaying the start of the timeline to compensate, but would rather it play after tapping the Place Icon.

Here’s my code within the Show Script:

const display_shown = symbol.controllers.display.elements.shown;
const display_hidden = symbol.controllers.display.elements.hidden;

parent.on(“show”, () => {

// Make sure we start from fully hidden
display_hidden.reset();

// Move to the shown state
display_shown.activate();
symbol.controllers.Intro.elements.Corvette_moving.play(.05,);

});

1 Like

I added a emit code to the world tracking that fired off when it was placed. I’ll have to dig out the code when I get home later.

Steve

Thanks Steve that would help…Were you able to find the code?

Sorry forgot to post it.

I added emit “World:Placed” to when you place the world.
World Tracking Ground Placement.zpp (1.1 MB)

Steve

1 Like