Jump to content

Searching scene for Animatable's


TheGecko
 Share

Recommended Posts

Question about scene.getAnimatableByTarget - I'm failing to find a table for an animation I know is in scene, and the only reason I can think why it's not returning is because the animation has been loaded, but not started/stop. Does getAnimatableByTarget work on all tables, or only active ones?

Many thanks.

Link to comment
Share on other sites

3 minutes ago, JCPalmer said:

An Animatable - based on the source code you've linked (which I'd already seen), it appears to maintain a list of active animations. I'm asking for confirmation that the list doesn't contain animation that haven't started.

Link to comment
Share on other sites

:)  Fun with terminology.  :)  TG... an animatable has nothing to do with a 'table'.  It is an animate-able target/property.

Now, about that other thing... good question.  scene.animations?  Perhaps that contains ALL scene animations, whether they have been started or not.

I once knew LOTS about BJS animation system, but I forgot it all.  heh

There is also a scene.Animatables property.  Hmm.  I wonder if it REALLY uses a capital letter 'A'.  :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...