About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Animatable class working example
Author Message
Dwight Offline
Member

Post: #1
Animatable class working example
Lectori salutem,

I'm running into a small issue here with getting the OBJ_ANIMATABLE's to work properly, instead of just showing up and mocking me by not animating..

I defined:
Code:
Game.ObjMap<Game.Animatable> ObjAnimatable;
and of course set it's object type to OBJ_ANIMATABLE like so in the InitGame()
Code:
.setObjType(ObjAnimatable    , OBJ_ANIMATABLE     )

the OBJ_ANIMATABLE has the following properties:
Element ID : anim

I created a cube with a turning animation, which works perfectly in the tutorial (following Ozmodian's example, but with 3DS MAX); with the above additions to the project, the cube shows up nicely, but it won't animate.

I changed the params of the cube to fit the example, but still no luck; Am I missing something?

Perhaps someone has a working example of the Animatable objects, as there is no OBJ_ANIMATABLE object class in the tutorials?

Reference threads:
http://www.esenthel.com/community/showth...p?tid=7454
http://www.esenthel.com/community/showth...p?tid=6362
04-24-2014 10:45 AM
Find all posts by this user Quote this message in a reply
Dwight Offline
Member

Post: #2
RE: Animatable class working example
Actually, it appears to be working now correctly, thanks to some guidance from Tottel smile
04-24-2014 04:39 PM
Find all posts by this user Quote this message in a reply
Post Reply