You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a sub-object try to focus an other object and while his parent is turning, this break the focus.
Here is a snippet to try
var parent = new DE.GameObject( {
x: 300, y: 300,
gameObjects: [
new DE.GameObject( { name: 'sub' } )
]
} );
var toFocus = new DE.GameObject( { x: 0, y: 0 } );
parent.gameObjects[0].focus( toFocus ); // focus the toFocus object
// add a rotate to the parent object, now the object 'sub' isn't at the good position !
parent.addAutomatism("rotate", "rotate", { value1: 0.002 });
The text was updated successfully, but these errors were encountered:
If a sub-object try to focus an other object and while his parent is turning, this break the focus.
Here is a snippet to try
The text was updated successfully, but these errors were encountered: