OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

How to reset osgAnimation (put the animation on start frame)


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
GiacomoB
Newbie


Joined: 20 Mar 2019
Posts: 2
Location: Italy

PostPosted: Fri Jul 26, 2019 12:11 pm    Post subject:
How to reset osgAnimation (put the animation on start frame)
Reply with quote

Hi,
i'm using osg3.6.4 and i'm interested in osganimationviewer example.
I found method like play, stop, next and previous animation using a 3d model with multiple osgAnimation::Animation. Everithing work ok.
I'm wondering if it is possible also to reset a specific animation, i mean after sent a play animation (i.e. play on walk animation from A to B) reset that animation on A.
I had a look on animation, channel and target file, but i couldn't reset the animation.

Thank you!

Cheers,
Giacomo
Back to top
View user's profile Send private message
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 520
Location: France

PostPosted: Sat Jul 27, 2019 9:58 pm    Post subject:
Re: How to reset osgAnimation (put the animation on start frame)
Reply with quote

Hi
I think you'll have to make your own AnimationManager,
see BasicAnimationManager and TimeLineAnimationManager for example
Cheers

GiacomoB wrote:
Hi,
i'm using osg3.6.4 and i'm interested in osganimationviewer example.
I found method like play, stop, next and previous animation using a 3d model with multiple osgAnimation::Animation. Everithing work ok.
I'm wondering if it is possible also to reset a specific animation, i mean after sent a play animation (i.e. play on walk animation from A to B) reset that animation on A.
I had a look on animation, channel and target file, but i couldn't reset the animation.

Thank you!

Cheers,
Giacomo

_________________
Twirling twirling twirling toward freedom
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Frame Drop xdfanfan General 0 Tue Jul 02, 2019 4:03 pm View latest post
No new posts osgAnimation depth of Skeleton update sbrkopac General 0 Mon Apr 08, 2019 11:13 pm View latest post
No new posts I need any ideas on how to wait for a... christoph General 2 Wed Feb 27, 2019 12:24 pm View latest post
No new posts Setup and Start OSG library questions. Zachary1234 General 2 Sun Feb 10, 2019 11:23 pm View latest post
No new posts Get Animation current time dhhabyc General 9 Thu Dec 27, 2018 5:54 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP