Jump to content



Recommended Posts

Hi everybody!

So I've been working with Babylon's Animation system and I've been stuck with one issue lately.

I'm trying to execute an animation but also trying to keep the current position as it is.

I've been trying to get this to work here but failed miserably :D

Link to comment
Share on other sites

Hi @Deltakosh!

Well, as you can see in PG if you press 'A' cube moves left or if you press 'D' it will move right.

There is also another key: 'J' which is responsible for starting the "jumping" animation.

If you move the box to the left or right and then press 'J' to start the animation the box suddenly transports itself to the center and then it starts the animation.

Is it possible for animation to start from the cube's current position? For example if the box is at the left and when we press the 'J' it starts the "jump" animation from cube's current position (which is now at the left) and not from the center?

Thanks :) 

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.

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.


  • Recently Browsing   0 members

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