Arrays

Hi all.

Is it possible to manipulate arrays in realtime using the BGE?

Nothing happens when I try to manipulate an object offset…

Without specific example code, I can only speculate that you’re using Blender modules in the BGE -> You can’t do that.

The available modules in the BGE are listed in the API documentation:

GameLogic

I’m not using Python.

I’m just using the array modifier on an cube, and using an empty as the object offset for the array.

When I try to move or rotate the empty using the logic blocks, nothing happens.

Are modifiers not compatible with the game engine?

If so, can you point me in the direction of any examples on how to array using another method (Python?)

Cheers
w

If a modifier doesn’t work, than it’s not.

If so, can you point me in the direction of any examples on how to array using another method (Python?)
You can’t use the array modifier in the BGE, because it doesn’t exist there.

Although, if you know python, and the necessary math, you could write your own “in game” version of the array modifier.

What exactly are you trying to do, in-game, with the array modifier?

Maybe there’s an easier way of doing the same thing without it.

Thanks

My goal’s not clearly defined but run something along the lines of having a complex multi armed shape whose movements I could control in realtime.

A bit like a reltime version of this -http://www.youtube.com/watch?v=gRsjeMlggPw