Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

animated 3D objects

A topic by PixelwolfOG created Mar 06, 2023 Views: 337 Replies: 8
Viewing posts 1 to 4

Hey guys, another question sorry. Is there any way to have a 3D object animated. Not a complex animation. I am just trying to have an object rotate.

Cheers!

Developer

You need to provide MD3 model with animations.

Then you'll probably need to write a state machine file

Thank you for your reply! The model is already animated but to be honest I have no idea what a state machine file is. I will take a look and see if I can figure it out :) 

Ok so I looked it up in the manual, I put together a .states file for my 3D object. The placeholder sprite for the 3D object is called mars and i set the IDLE NONE to 1. If I am understanding correctly that should call the 3D object that the placeholder sprite is using? only problem is that It does not seem to be working, thinking I have done something wrong.

image mars 0 1

state IDLE NONE 1

frame 0 0.25 0 0 0 NONE

frame 1 0.25 0 0 0 NONE

frame 2 0.25 0 0 0 NONE

frame 3 0.25 0 0 0 NONE

Um, no? All 3D models should be attached with Models Configurator.

It is, the model is in and working. The documentation says that changing state IDLE NONE 0 to state IDLE NONE 1 will use the 3D model instead of the place holder sprite unless I am mistaken 

> "sets if you want this state to interpolate model frames or not (if you use 3D models)."
Eh?

interpolate model frames to me says it will look at the frames of the 3D model not the sprite.

That's right.