0
$\begingroup$

How can one import an object (an obj) in an Armory game while the game is running? For example, I want to import an object (car.obj) when I press a key and remove that object if I press another key. I wonder how this would be possible using a Haxe script or a logic node set up?

In case it is not possible to import an obj file directly into the scene I don’t mind converting the objects to another format that Armory supports. I just need to be able to import my objects into the game environment and remove them. Is that possible?

The closest things I found are this and this Armory example scripts but they do not import objects that are stored on disk. For my work, I need to be able to dynamically manipulate objects, store them on disk and load them into the game and these scripts seem to not be helpful for me.

$\endgroup$
0
$\begingroup$

If you mean add an object into the scene, you use the import. Click file in the top right, hover over import, and click wavefront for an OBJ, Then import what you want to. If you mean have it go into the game at a certain point, that'd take other scripts. I don't really know what you mean by a game, I assume you're making a game.

$\endgroup$
  • $\begingroup$ I know how to import objects in Blender itself but I'm using Armory and its different. $\endgroup$ – Amir Sep 15 '18 at 23:50
  • $\begingroup$ To be honest, I have no idea what you're talking about, sorry. $\endgroup$ – ARobloxPlayer25 Sep 16 '18 at 0:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.